Skip to content

Instantly share code, notes, and snippets.

View volfegan's full-sized avatar
πŸ’­
Still Operational

Daniel Leite Lacerda volfegan

πŸ’­
Still Operational
View GitHub Profile
@volfegan
volfegan / HeartSpermExplosion.pde
Last active February 12, 2021 22:06
Sperm swimming outwards from a centre in form of a heart
//based from https://twitter.com/ntsutae/status/1227550470001946624
//https://www.openprocessing.org/sketch/841004
//resource http://mathworld.wolfram.com/HeartCurve.html
float C=0, F;
Sperm[] Sperm;
long time;
void setup() {
size(1280, 720);
Sperm=new Sperm[width];
@volfegan
volfegan / desertRunner.pde
Last active August 10, 2020 03:06
It looks like a desert sweep from a fly-by
//based from: https://twitter.com/ntsutae/status/1232297507192856576
float i,j,t=-10;
int w=720;
void setup() {
size(720, 720);
noStroke();
fill(0);
}
void draw() {
background(255);
@volfegan
volfegan / basic_Slider.pde
Last active March 4, 2020 20:41
A horizontal slider control button created by u/liberal_destroyer3 (reddit)
Slider slider;
void setup() {
size(720, 720);
colorMode(HSB,360);
float sliderSize = 400;
PVector sliderPos = new PVector((width-sliderSize)/2, height-50); //to put in the middle-bottom screen
float startValue = 0;
float endValue = 360;
slider = new Slider(sliderPos, sliderSize, startValue, endValue,0);
@volfegan
volfegan / radarDisplay.pde
Created March 13, 2020 03:16
Some static screen on radar display
Slider slider;
long time;
boolean glitch = false;
float t=0;
float x, y, angle, r, n;
float sliderSize, startValue, endValue;
void setup() {
size(730, 730, FX2D);
sliderSize = 400;
PVector sliderPos = new PVector((width-sliderSize)/2, height-50); //to put in the middle-bottom
@volfegan
volfegan / staticScreen.pde
Last active March 23, 2020 06:30
Static screen like old TV Twitter size code
//https://twitter.com/VolfeganGeist/status/1241962067109838848
int n, x, y, X, Y, w=720;
void setup() {
size(720, 720);
}
void draw() {
background(0);
loadPixels();
X=0;
Y=0;
@volfegan
volfegan / hyperMatrix_GlitchGenerator.pde
Last active March 26, 2020 15:24
Some tripping Hyper Matrix shenanigans
//based on: https://twitter.com/ntsutae/status/1242745365608071169
float a, b, i, C, W=720, H=W/2;
void setup() {
size(720, 720);
strokeWeight(C=20);
stroke(W);
colorMode(HSB, 360);
blendMode(DIFFERENCE);
}
void draw() {
@volfegan
volfegan / Helicopter_announcement.txt
Last active March 27, 2020 20:00
ASCII art for Helicopter announcement
β–¬β–¬β–¬.β—™.β–¬β–¬β–¬
.═▂▄▄▓▄▄▂
β—’β—€ β–ˆβ–€β–€β–ˆβ–ˆβ–ˆβ–ˆβ–„β–„β–„β–„β—’β—€
β–ˆβ–„ β–ˆ β–ˆβ–„ β–ˆβ–ˆβ–ˆβ–€β–€β–€β–€β–€β–€β–€β•¬
β—₯β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ—€
══╩══╩═
╬═╬
╬═╬
╬═╬
╬═╬
@volfegan
volfegan / HTMLhead.txt
Created April 2, 2020 21:31
ASCII art for HTML <head></head>
________.β€ž-~~~'"'~~β€ž_
______β€ž-~"-,::<head>'-β€ž
____,~''::::' :::::: :\',
___,-~//,, "Β―"'"~-~"Β―"-,
__|:::|:::-~~---::: --:|
(Β―''~-':::'Β―Β°:',::|:Β°-:|
__"'-,|:::::: / ~_]\ :,'
______|,:::::-~,__,:::/
_____,-"\":'~β€žβ€ž_::_,-'
__β€ž-';;;;\:"-,'~-~"/
@volfegan
volfegan / primesCascading.pde
Last active April 9, 2020 15:18
Lists numbers in columns and highlights primes
//inspired by Max Cooper - Aleph 2 (Official Video by Martin Krzywinski)
//https://www.youtube.com/watch?v=tNYfqklRehM
import java.math.*;
BigInteger prime;
int n = 0;
int fontsize=12;
int x=0, y=0;
int repeat=1;
void setup() {
size(720, 720);
@volfegan
volfegan / you_are_here.pde
Created April 20, 2020 05:33
pseudo stellar map showing where home is
float i, x, y;
void setup() {
size(1080, 720);
background(0);
noStroke();
for (i=0; i<1500; i++) {
x=random(0, width);
y=random(0, height);
float alpha=random(20, 200);