Skip to content

Instantly share code, notes, and snippets.

@Bleuje Bleuje/endofcode.pde
Created Feb 20, 2019

Embed
What would you like to do?
int n = 250;
Thing[] array = new Thing[n];
void setup(){
size(600,600,P3D);
result = new int[width*height][3];
noise = new OpenSimplexNoise();
for(int i=0;i<n;i++){
array[i] = new Thing();
}
}
void draw_(){
background(0);
push();
translate(width/2,height/2);
for(int i=0;i<n;i++){
array[i].show();
}
pop();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.