I created a new sketch in processing that renders some random moving dots and connects them when they are within a certain radius. Click on the image to run the sketch in your browser
the source in the connect the dots file is broken, I am looking to create something like this for a home screen in an app, and was wondering if you could send me the source or fix the broken source in the post. thanks.
the source in the connect the dots file is broken, I am looking to create something like this for a home screen in an app, and was wondering if you could send me the source or fix the broken source in the post. thanks.
Great work
hmmm I think my source preview is confused by some of the brackets - anyways here is the sourcecode
PVector[] dots; int LIMIT = 30; void setup() { noiseSeed( int(random(100))); size(300, 300); smooth(); dots = new PVector[300];
for ( int i =0; i<dots.length; i++) { dots[i] = new PVector( random( width/2 ) +width/4, random( height/2 )+height/4); } }
void draw() { background(255); for ( int i =0; i<dots.length; i++) {
} }