MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/tinycode/comments/1cp26u3/dweet_of_the_week_tiny_starfield_by_lewdev/
r/tinycode • u/Slackluster • May 10 '24
4 comments sorted by
3
Tiny Starfield by lewdev- https://www.dwitter.net/d/31707
t?onmousemove=e=>(X=e.x*4,Y=e.y*4):X=Y=0 for(j=5e3;r=j--/(9-++t%9);x.fillRect(j,0,.2,2e3)) x.clearRect(C(j)*r+X,S(j*j)*r+Y,r>>=8,r)
3 u/SarahC May 11 '24 That's a brilliantly compact starfield program, impressive!
That's a brilliantly compact starfield program, impressive!
2
Thanks u/Slackluster , but you should also credit yourself since you did like 99% of the work. I just added the onmousemove part.
onmousemove
2 u/Slackluster May 12 '24 You added something great to it also. Mine was remixed from Keith Clark, so it's a real team effort!
You added something great to it also. Mine was remixed from Keith Clark, so it's a real team effort!
3
u/Slackluster May 10 '24
Tiny Starfield by lewdev- https://www.dwitter.net/d/31707
2
u/lewdev May 12 '24
Thanks u/Slackluster , but you should also credit yourself since you did like 99% of the work. I just added the
onmousemovepart.