This file contains 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
ArrayList<HPP> HPPoints = new ArrayList<HPP>(); | |
int xline = 3; | |
int xdist = 5; | |
int yline = 3; | |
int ydist = 5; | |
ArrayList<dataset> Lines = new ArrayList<dataset>(); | |
ArrayList<col> cols = new ArrayList<col>(); | |
void setup(){ | |
dfoLine(); |
This file contains 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
ArrayList<HPP> HPPoints = new ArrayList<HPP>(); | |
int xline = 3; | |
int xdist = 5; | |
int yline = 3; | |
int ydist = 5; | |
ArrayList<dataset> Lines = new ArrayList<dataset>(); | |
ArrayList<col> cols = new ArrayList<col>(); | |
void setup(){ | |
dfoLine(); |
This file contains 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
// Coding Rainbow | |
// Daniel Shiffman | |
// http://patreon.com/codingtrain | |
// Code for: https://youtu.be/JcopTKXt8L8 | |
int leavesCount = 10000; | |
float pointSize = 10; | |
float lineWeight = 4; | |
float max_dist = 100; | |
float min_dist = 10; |
This file contains 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
float nScale = 100; | |
float pSize = 10; | |
float zoff = 0; | |
void setup(){ | |
fullScreen(); | |
} | |
void draw(){ | |
background(0); |
This file contains 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
ArrayList<Agent> agents = new ArrayList<Agent>(); | |
float zoff = 0; | |
int maxAgent = 4000; | |
void setup(){ | |
//size(500, 500); | |
fullScreen(); | |
colorMode(HSB, 360, 100, 100); | |
background(360); | |
} |
This file contains 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
ArrayList<Agent> agents = new ArrayList<Agent>(); | |
float scale = 2000; | |
float EPSILON = 0.01; | |
float zoff = 0; | |
void setup(){ | |
fullScreen(); | |
colorMode(HSB, 360, 100, 100, 100); | |
for(int i = 0; i < 10000; i++){ | |
agents.add(new Agent()); |
This file contains 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
float na = 1; | |
float nb = 1; | |
float theta = 0; | |
void setup() { | |
//fullScreen(); | |
size(500, 500); | |
colorMode(RGB, 1, 1, 1, 1); | |
} |
This file contains 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
int NI = 5;//size of control point | |
int DI = 3;//Degree | |
int[] knotsI; | |
boolean close = false; | |
void setup(){ | |
//fullScreen(); | |
size(1000, 500); | |
strokeWeight(10); | |
colorMode(HSB, 360, 100, 100); |
This file contains 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
import ddf.minim.*; | |
import ddf.minim.analysis.*; | |
int Samples = 512; | |
Minim minim; | |
AudioInput in; | |
FFT fft; | |
MYFFT myfft = new MYFFT(Samples); | |
DFT dft = new DFT(Samples); |
This file contains 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
float r0 = 200; | |
float r1 = 100; | |
float n1 = 1, n2 = 1; | |
int NI = 100, NJ = 100; | |
PVector[][] poss = new PVector[NI][NJ]; | |
void setup(){ | |
size(700, 700, P3D); | |
//fullScreen(P3D); | |
colorMode(HSB, 360, 100, 100); |
OlderNewer