Log In  

On the last evening of #tweettweetjam I was playing around with free body motion, made a prototype... it evolved into a ~1000 character toy... and I managed to squeeze it down to 555 just before the deadline. The math is buggy when paths get too close to centers, but I sort of like the look so I didn't even try to "fix" it...

Arrow keys move the attractor, 🅾️/Z switches control, ❎/X resizes.

Cart #sisuterujo-0 | 2020-11-11 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

edit: updated to fix a bug where if you stop resizing an attractor right at max size it gets stuck at that size (the sign of the resize action gets stuck oscillating back and forth at 30fps). 560/560 characters now.

Cart #sisuterujo-1 | 2020-11-15 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

P#84104 2020-11-11 05:07 ( Edited 2020-11-15 19:09)

[Please log in to post a comment]

Follow Lexaloffle:        
Generated 2021-01-27 20:02 | 0.020s | 2097k | Q:42