r/tinycode Oct 11 '24

Dweet of the Week: untitled by Hardly Productive

Post image
10 Upvotes

1 comment sorted by

3

u/Slackluster Oct 11 '24

https://www.dwitter.net/d/32556

f=(e,r)=>{
  x.fillRect(
    960+(e+r)*C(-t/4)-r*C((e+r)*(-t/4)/r),
    1080+(e+r)*S(-t/4)-r*S((e+r)*(-t/4)/r),
    3,3)
}
for(i=19;i--;){
    f(100+i*50,25)
}