Skip to content

Instantly share code, notes, and snippets.

int seed = int(random(999999));
float nwidth = 960;
float nheight = 960;
float swidth = 960;
float sheight = 960;
float scale = 1;
boolean export = false;
void setup() {
size(960, 960, P2D);
pixelDensity(2);
background(230);
noStroke();
fill(250);
ellipse(width*0.25, height*0.25, width*0.4, width*0.4);
ellipse(width*0.75, height*0.25, width*0.4, width*0.4);
import bpy
import random
import math
# random seed
seed = random.randint(0, 99999);
def main():
int seed = int(random(999999));
boolean export = false;
void setup() {
size(960, 960, P2D);
smooth(8);
pixelDensity(2);
generate();