Skip to content

Instantly share code, notes, and snippets.

View cliffordTorus_v1.pde
// Processing code by Etienne JACOB
// inspired by a shader from tdhooper : https://www.shadertoy.com/view/wsfGDS
// motion blur template by beesandbombs
int[][] result;
float t, c;
float c01(float x)
{
View spherewave.pde
// Processing code by Etienne JACOB
// motion blur template by beesandbombs
// opensimplexnoise code (by Kurt Spencer) in another tab might be necessary
// --> code here : https://gist.github.com/Bleuje/fce86ef35b66c4a2b6a469b27163591e
int[][] result;
float t, c;
float c01(float x)
{
View cubeperspectiveeffect.pde
// Processing code by Etienne JACOB
// inspired by beesandbombs : https://twitter.com/beesandbombs/status/1563110024204787712
// motion blur template by beesandbombs
int[][] result;
float t, c;
// utils... most unused here
float c01(float x)
View hilbert-curve-transforms.pde
// Processing code by Etienne JACOB
// motion blur template by beesandbombs
// CC BY-SA 3.0 license because it's using code from Wikipedia
int[][] result;
float t, c;
float ease(float p, float g) {
if (p < 0.5)
return 0.5 * pow(2*p, g);
View hilbertcurve3.pde
// Processing code by Etienne JACOB
// motion blur template by beesandbombs
int[][] result;
float t, c;
float ease(float p) {
return 3*p*p - 2*p*p*p;
}
View sierpinskitriangleloop.pde
// Processing code by Etienne JACOB
// motion blur template by beesandbombs
// opensimplexnoise code in another tab might be necessary
// --> code here : https://gist.github.com/Bleuje/fce86ef35b66c4a2b6a469b27163591e
int[][] result;
float t, c;
float ease(float p) {
return 3*p*p - 2*p*p*p;
View slitscan_messy.pde
// Processing source code
// slit scan by @etiennejcb, put frames in the data folder
void prepareData()
{
for (int i = 0; i < numInputFrames; i++) {
println(filenames[i]);
allFrames[i] = loadImage(filenames[i]);
}
View rotateblocks.pde
// Processing code by Etienne JACOB
// motion blur template by beesandbombs
// opensimplexnoise code in another tab might be necessary
// --> code here : https://gist.github.com/Bleuje/fce86ef35b66c4a2b6a469b27163591e
int[][] result;
float t, c;
float ease(float p) {
return 3*p*p - 2*p*p*p;
View circularstructures_blenderscript.py
# blender script by @etiennejcb
# There must be no object in the scene before running this
# Path to folder where the frames will be saved and beginning of filename for frames
PATH_TO_SAVED_IMAGES_FOLDER = r'path\to\folder\frame'
# Window > Toggle System Console to see the progress (and blender can't be used while it renders)
#####################################################################
# IMPORTS AND TEMPLATE
import bpy
from mathutils import Vector
View 2dto3d.pde
// Processing code by Etienne JACOB
// motion blur template by beesandbombs
// opensimplexnoise code in another tab might be necessary
// --> code here : https://gist.github.com/Bleuje/fce86ef35b66c4a2b6a469b27163591e
int[][] result;
float t, c;
float ease(float p) {
return 3*p*p - 2*p*p*p;