Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

first implementation of L-tilings #2

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

hollma
Copy link

@hollma hollma commented Nov 17, 2018

cover an L-shaped field with L-shaped tiles

@hollma
Copy link
Author

hollma commented Nov 17, 2018

oh, there are some spacing issues:

works only for --dim 32 32 --scale 4 (or some other power of 2 instead of 32), otherwise the pixels are too close or too far apart

@hollma
Copy link
Author

hollma commented Nov 17, 2018

made the bug less bad, still not perfect; I do not understand pixel size, spacing, etc. in pictor :-(

…ples of 4, dimension/(2*scale) must be a power of 2.
@hollma
Copy link
Author

hollma commented Nov 19, 2018

fixed

dim/scale = number of pixels (where width = breadth) must be a power of two. Both dim and scale must be multiples of 4.

example:
python core.py -lt --dim 320 320 --scale 20 -b "2" "#ffffff" -op 0.9 -r 32

dim/scale = 16
dim = 5 * 4 * 16
scale = 5 * 4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant