This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| everything above the big '////////' line (line 61) is a hack i threw | |
| together which averages some frames to achieve a motion blur effect; | |
| i just copy 'n' paste it every time i make a new sketch, and think of | |
| setup_() as setup() and draw_() as draw(). | |
| the variable 't' controls time and runs from 0 to 1. | |
| the bit fiddling is just a faster way of pulling the red, green and | |
| blue values out of pixels, if i recall correctly. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment