This file contains hidden or 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
//inspired from Flopine's 8bit demoscene code | |
//https://www.youtube.com/watch?v=_JQm46HuDEE | |
float t; | |
void setup() { | |
size(1280, 720); | |
colorMode(HSB); | |
noStroke(); | |
clear(); | |
} | |
int mode = 0; //spacebar for mode change |
This file contains hidden or 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
//inspired by Orbital Decay's 8bit demoscene code | |
//https://www.youtube.com/watch?v=VP0wOxSAH38 | |
int t; | |
void setup() { | |
size(1280, 720); | |
colorMode(HSB); | |
noStroke(); | |
clear(); | |
} | |
int mode = 0; //spacebar for mode change |
This file contains hidden or 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
//inspired from Flopine 8bit demoscene code | |
//https://www.youtube.com/watch?v=_JQm46HuDEE | |
int f=1,t,u,v,x,y; | |
void setup() { | |
size(1280, 720); | |
colorMode(HSB); | |
noStroke(); | |
clear(); | |
} | |
void draw() { |
This file contains hidden or 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
//Reference: https://www.dwitter.net/d/5321 | |
float t; | |
float[][] field; | |
int rez = 15; | |
int cols, rows; | |
int colourMode = 0; //0. Smooth, 1. Geometric imperfect artifacts | |
void keyPressed() { | |
if (key == 'M' || key == 'm') { | |
colourMode++; |
This file contains hidden or 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
//Reference | |
//Coding Train: https://youtu.be/ccYLb7cLB1I | |
//https://github.com/CodingTrain/website/tree/main/CodingChallenges/CC_028_MetaBalls/Processing/CC_028_MetaBalls | |
//https://www.gamedev.net/articles/programming/graphics/exploring-metaballs-and-isosurfaces-in-2d-r2556/ | |
Blob[] blobs = new Blob[20]; | |
float min=1; | |
void setup() { | |
size(720, 360); |
This file contains hidden or 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
//https://www.dwitter.net/d/20135 | |
//https://democyclopedia.wordpress.com/2015/11/29/t-comme-twister/ | |
//more info: | |
//http://eab.abime.net/showthread.php?t=59865&page=5 | |
float b, d, n, m, r, t; | |
void setup() { | |
size(1280, 720); | |
noStroke(); | |
} | |
void draw() { |
This file contains hidden or 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
//references | |
//https://www.dwitter.net/d/1829 | |
//https://twitter.com/i_bri/status/1378588143931260930 | |
float l, r, t=0; | |
void setup() { | |
size(1280, 720); | |
stroke(0, 255, 0); | |
noFill(); | |
} | |
void draw() { |
This file contains hidden or 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
//2D Water Ripples references | |
//Coding Train https://youtu.be/BZUdGqeOD0w | |
//https://github.com/CodingTrain/website/tree/main/CodingChallenges/CC_102_WaterRipples/Processing | |
//https://web.archive.org/web/20160418004149/http://freespace.virgin.net/hugo.elias/graphics/x_water.htm | |
//A very convulated version that don't use 2D arrays, that I tried to understand | |
//http://agilerepose.weebly.com/water-ripple.html | |
//Underwater Oscillation effect | |
//https://twitter.com/stexxs/status/1250501679318999040 |
This file contains hidden or 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
//based from https://www.dwitter.net/d/22303 | |
float f, k,q, t, w, X, Y; | |
void setup() { | |
size(1280, 720); | |
noStroke(); | |
clear(); | |
} | |
void draw() { | |
t+=.01; | |
for (float i=1024,k=i/2; i>0; i--) { |
This file contains hidden or 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
//based from https://www.dwitter.net/d/21877 | |
float m, t, w=32, X, Y; | |
void setup() { | |
size(1280, 720); | |
noStroke(); | |
} | |
void draw() { | |
t+=.1; | |
fill(0, 2); | |
rect(0, 0, width, height); |