Code – lines pointing at mouse w/OOP
Main Sketch: // declare an array of DirectionLines DirectionLine lines[]; void setup() { fullScreen(); //how long will each line be int lineLength = 30; //we can find out how many lines we will have //by dividing width and height by the lineLength int w = width/lineLength; int h = height/lineLength; //initialize the array with number … Continue reading Code – lines pointing at mouse w/OOP
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed