chrisamaphone,
@chrisamaphone@hci.social avatar
chrisamaphone,
@chrisamaphone@hci.social avatar
chrisamaphone,
@chrisamaphone@hci.social avatar

hmm i hope there’s a nice way to program droste effect with recursion that doesn’t blow up p5js

chrisamaphone,
@chrisamaphone@hci.social avatar

Droste effect
https://editor.p5js.org/chrisamaphone/sketches/J9pkKE5zc

it's weird that doing this recursively is apparently the only way in p5 to save the transform matrix across calls, as in the draw loop doesn't? anyway mixing recursion and iteration is cursed and i hate it thanks.

less correct looking version of the previous image, with the scale set higher but oops now the recursive n+1st iterations don't fit inside the nth ones.

chrisamaphone,
@chrisamaphone@hci.social avatar

today's prompt is "pixels" and i have other things to do today so i'm going to do my best to resist the temptation to learn the Weaving Information File format standard (http://www.mhsoft.com/wif/wif.html) and generate patterns to load into @lea's loom simulator (https://github.com/lealbaugh/little-loom), but i want you all to know i thought about it

chrisamaphone,
@chrisamaphone@hci.social avatar

Pixels
https://editor.p5js.org/chrisamaphone/sketches/NxFcdGb2g

went with 90s nostalgia for lite-brites. could play around with this for rendering various grid animations like CAs, but right now it just randomly replaces a pixel on each iteration (color -> empty, empty -> random color).

probably the most interesting part was deciding what colorspace to use for the circular gradients. i went with HSL, but then that meant white had to be a special case

a grid of "lights" represented by circles of gradient color (white in the center to dark at the edges). they start out mostly orange and, over time, get replaced either by "empty holes" (circles ringed in grey) or lights of another of the 6 canonical lite brite colors (orange, pink, yellow, blue, green, white).

chrisamaphone,
@chrisamaphone@hci.social avatar

"In the Style of Vera Molnár (1924-2023)"

https://editor.p5js.org/chrisamaphone/sketches/cXt5r1SNn

i more or less tried to replicate her piece "interruptions" as seen here: https://www.themorgan.org/morganmobile/order-and-disorder/molnar

...with the added question of "what if you kept going?" which i answered with "repeat the markings, monotonically adding to the set of interruptions"

video animating rows of crisscrossing lines being added in layers to create the previous image

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • khanakhh
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • osvaldo12
  • ethstaker
  • Youngstown
  • mdbf
  • slotface
  • rosin
  • everett
  • ngwrru68w68
  • kavyap
  • InstantRegret
  • megavids
  • GTA5RPClips
  • Durango
  • normalnudes
  • cubers
  • tacticalgear
  • cisconetworking
  • tester
  • modclub
  • provamag3
  • anitta
  • Leos
  • JUstTest
  • lostlight
  • All magazines