-
-
Save SannaPersson/0660be0880179bf4a12b8ac7dc2840c9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
x_cell, y_cell = S * x - j, S * y - i # both between [0,1] | |
width_cell, height_cell = width * S, height * S # can be greater than 1 since it's relative to the cell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment