Skip to content

Instantly share code, notes, and snippets.

View racecraftr's full-sized avatar
💭
neutral

Avi Gupta racecraftr

💭
neutral
View GitHub Profile
//initialize the variables
float r, b;// r is the radius, b defines the number of lobes it has
float theta;// theta is the angle
// set up the screen
void setup() {
size(600, 600);// *
r = height * .25;// doesn't matter later
b = 2;// the number of lobes = (b-1) *
theta = 0;//*