Skip to content

Instantly share code, notes, and snippets.

@artnowgithub
artnowgithub / sketch_3D_VectorMap_GetPointPaths_A4_Blue_ImagePoint_Portrait.pde
Last active February 20, 2025 09:43
3D Vector Point Map Portrait Mona Lisa in Processing .pde
IMPORTANT READ ME////Make sure you CHANGE OUT THE IMAGE TO YOUR OWN IMAGE .svg OR You will see "null Pointer Exception"
//Go to sketch > Show sketch folder > data > yourFile.svg
import geomerative.*;
RShape grp;
RPoint[][] pointPaths;
float xmag, ymag, newYmag, newXmag = 0;
float z = 0;
@artnowgithub
artnowgithub / ChrisP_GetPixel_Brush_V1
Created June 23, 2020 13:58
ChrisP_GetPixel_Brush
PImage img; //PImage
int brushSize = 1;
int alpha = 255;
void setup() {
size(1600, 1200);
img = loadImage("G9.jpg");
//background(img);
background(0);
@artnowgithub
artnowgithub / Generative_Spiral_Art_Loops
Last active January 2, 2022 17:09
ChrisP_Interactive_Generative Spiral Art
float rAngle =random(0.1,30);
float rFill = random(0,255);
float bgFill = random(200,255);
float rStroke = random(0.25,3);
void setup() {
size(1920, 1080);
smooth();
frameRate(1000);
}