This file contains hidden or 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
void setup(){ | |
size(600,600); | |
} | |
// x = sin(a) allowed us to derive points' coords based on increments of 'a' | |
// we can use more complex parametric equations to derive x and y coords of | |
// complex curves based on a changing parameter 't' | |
// see Bernstein polynomial | |
// |
This file contains hidden or 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
http://www.boingboing.net/2008/07/15/chinese-restaurant-c.html |