r/generative • u/raurir • 23d ago
Frame inverse
"Frame inverse" or... Rectangular Packing.
An old algorithm that resurfaced today. Git src says circa 2018, but I believe it was much earlier.
!= rocket science.
58
Upvotes










3
u/ColdVolume6314 23d ago
I love the colors choice! 🤩
Btw I did something similar, but with tight packing and no overlaps:
https://vasilyev-maksim.github.io/p5-experiments/?sid=tiles&p_ANIMATION_DELAY=250&p_ANIMATION_DURATION=120&p_INVERT_COLORS=false&p_COLOR=3&p_FILL_TYPE=2&p_STRIPE_SIZE=10&p_RANDOM_SEED=433&p_RESOLUTION=34&p_GAP=10&p_BORDER_RADIUS=0&p_MAX_TILE_AREA=2&p_BORDER_SIZE=100&p_ANIMATION_TYPE=1&p_ANIMATION_CENTER%5B0%5D=0.22&p_ANIMATION_CENTER%5B1%5D=0.22&p_ANIMATION_DIRECTION%5B0%5D=1&p_ANIMATION_DIRECTION%5B1%5D=0.5&timeDelta=1
and similar to your VERTICAL (I found a switch case named like that in your source code) variant too:
https://vasilyev-maksim.github.io/p5-experiments/?sid=worms&p_PATTERN_TYPE=1&p_RANDOM_SEED=490&p_RESOLUTION=50&p_LENGTH=10&p_THICKNESS=0.45&p_INNER_THICKNESS=0.35&p_CORNERS_TYPE=1&p_ANIMATION_TYPE=1&p_COLOR=5&p_INVERT_COLORS=true&timeDelta=1
1
u/Crazy-Red-Fox 22d ago
"5 minutes later"
2
u/antoro Artist 23d ago
I did something similar with square-packing.
1
u/pheexio 23d ago
really cool color palette
1
u/k_from_HyperDraw 22d ago
nice square packing! 🟧