MaxBittker / sandspiel-studio

Cellular Autonoma Playground
http://studio.sandspiel.club
MIT License
34 stars 4 forks source link

The cursor and where the pixels are placed are misaligned #143

Closed labbo-lab closed 2 years ago

labbo-lab commented 2 years ago

(doesn't seem to happen in mega and big)

labbo-lab commented 2 years ago

nevermind, it happens in all of them, but its most noticeable in small I think

TodePond commented 2 years ago

There's currently some hacky adjustment going on to try to avoid this If I remove the adjustment, this is what happens when you place a single sand pixel in each corner: image

Seems to be more of an issue on the left/top sides

TodePond commented 2 years ago

Fixed - it wasn't factoring in the border when calculating brush position