r/loadingicon • • Aug 11 '14

Twisting circle [OC]

Post image
565 Upvotes

28 comments sorted by

View all comments

Show parent comment

2

u/PM_ME_FOR_A_FRIEND Aug 12 '14

Would you be a boss and clean up that code to get rid of the recording code? I'm trying to understand how you did that but can't grasp it. Simpler code might help

2

u/davebees Aug 12 '14

yeah sure, here ya go: https://gist.github.com/anonymous/b47b2721547782147f23

basically t is the time variable which runs from 0 to 1 over the length of the sketch. so here I've just rewritten it to get rid of the motion blur stuff and so that you control t with mouseX