Skip to content

abachman/genuary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 

Repository files navigation

genuary 2022

sketches in code.

rules

for me, not for you

  1. clean editor.p5js.org window
  2. 400x400 area
  3. still images (broken by day 6)
  4. link to sketch code
  5. write code on p5js.org in-browser, edit README in-browser, tweet from phone

2022-01-03

arrow diagrams. (i didn't read the instructions 🤷‍♂️)

sketch

diagrams-2022-01-03 diagrams-2022-01-03--002

2022-01-04

actually read the prompt today! saw "fidenza" and just did some flow fields

flow-field-003 flow-field-004

re-read the prompt and saw "next next Fidenza" so I went somewhere else. the next next fidenza probably won't be flow fields, i like cellular automata so why not?

scratch rewrote some "Langston's Ant" code that i worked on with my son recently so that it would auto-generate rule sets and save everything it drew. cellular automata like these are interesting because they may be a closer representation to how the universe is built than anything else that can be summed up in fewer rules than you can count on one hand. the system is turing complete. complex behavior arises from simple rules. future states cannot be predicted without calculating from the present. "undecidability." very small changes in the rules produce wildly different outcomes.

sounds like fertile ground for future exploration!

i'm lazy so no iteration on palette or cell size here. provisions made for fiddling with that stuff, tho. here's a link to the sketch so you can make your own dumb NFTs or whatever.

ruleset: LLLR

ant-life-LLLR

ruleset: LRLLLLR

ant-life-x1-LRLLLLR

2022-01-05

prompt: 'destroy a square'

kept it clean, translate - rotate - line. tweak for variation. i started out cutting the square into pieces with scattered lines, found i liked the layering better. getting random

sketch

centralized / starlike (no jitter on x, y)

2022-01-05--square--16ff64-40-100-200-0011-6283--226 2022-01-05--square--18ff64-40-100-200-0011-6283--3965

grassy field (small rotation jitter, color stable)

2022-01-05--square--00ff64-40-0-0 5-1111-500--266

galactic super clusters (full jitter on x,y & rot, color stable)

2022-01-05--square--00ffff-40-0 15-0 1-1110-6283--1530

2022-01-06

light painting. based on works by my friend Joshua Penrose. "trade"?, nah, "borrow"

sketch

wanted to play with framed movement. p5js image filter(BLUR, 4) is probably a lot slower than a custom shader would be. will have to poke at shaders sometime soon. used the ccapture library to create a video for this one.

light-painting--still-01 light-painting--still-02

2022-01-07

"sol lewitt drawings"

took the rules, left the lines. went with an 'old reliable' random walk painting system. tweakable color and counts.

100 people gather on an empty lot
each carries one can of paint and should
  paint the spot they are standing on
  turn in a random direction
  step forward
repeat until 5000 steps have been taken

sketch

monochrome:

sol-lewitt--5000-100-1 2_3-0_20-40_70-80_100

color blasted:

sol-lewitt--5000-100-1 2_3-0_256-100_100-100_100

2022-01-08

"single curve only"

what if you had a marker that never dried out and an arm that never stopped moving?

go-pro style footage of an epic coloring session

sketch

e0ca6dce-38f1-e4af-3c24-2bc0505349d3.mp4

visible canvas (400x400)

visible canvas

full canvas (2000x2000)

continuous-curve--5177

2022-01-09

a text-based tribute to one of my favorite quotes about programming, by Fred Brooks. i took massive liberties with whitespace here:

  The programmer, like the poet
  works only slightly removed
  from pure thought stuff.
  They build their castles
  in the air, from air,
  creating by exertion
  of the imagination.
  Few media of creation
  are so flexible,
  so easy to polish and rework,
  so readily capable of realizing
  grand conceptual structures.
  The magic of myth and legend
  has come true in our time.

Fred Brooks, 
"The Mythical Man Month"

sketch

air-architects--2022-01-09-02

simple, but the end result of playing with colors, lerping colors (not really possible in HSB), palette generation, moving things, multiple layers, and aliasing artifacts. play is important and most doesn't go anywhere useful. whether this sketch went anywhere useful at all is super debateable :)

2022-01-12

"packing"

i wanted to see circle packing two ways: just the circles, just the touches.

sketch has some fun parameters for initial seeding, spawn rate, growth rate that change the balance of sizes.

just the circles

circle-packing--circles

just the lines

circle-packing--lines

2022-01-13

like anytime i'm grasping for something to put on a blank screen, how about conway's game of life?

sketch

5c4c7ff7-d7b7-6c04-d54a-9c330fdd6799.mp4

2022-01-14

"Something you’d never make."

this one made me feel dirty. both for the integrated qr code and the reference to the environment killing ponzi scheme that is NFTs.

sketch

e977bc40-8d02-dda3-af36-7842bafaf11d.mp4

2022-01-15

"Sand"

i wanted to play with a high-count particle system that could animate, but also keep around 10k+ particles. got that with a background + foreground separation w/ createGraphics for points that have finished moving and particle list for points still in motion.

also needed an interesting movement pattern and stumbled on lissajous curves

sketch

sand-tracing--2022-01-15

sand-tracing--2022-01-15.mp4

2022-01-17

"three colors" sketch

i played with the color wheel, lots of tweaking of color selection, brightness and saturation selection, and motion. also first time playing with p5.js' DOM manipulation tools. handy for controls.

didn't make a video because lazy.

color-wheeling--2022-01-17

2022-01-19

"use text/typography"

textToPoints + atan2 + color smoosh

sketch

4f5463e2-466e-48a0-8075-8b64e6b7ac20.mp4

2022-01-20

"sea of shapes" -> but i'm going with "shapes of the sea"

stealing from myself with accidental diatoms

image of circle splats

About

sketches in code

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published