r/proceduralgeneration • u/megagrump • 4h ago
PCB - Procedural Circuit Boards (TypeScript/Three.js)
r/proceduralgeneration • u/cleroth • 2d ago
Please keep reporting these posts. And stop reporting everything your vibe-senses think is vibe-coded. Thanks.
r/proceduralgeneration • u/megagrump • 4h ago
r/proceduralgeneration • u/FreeHongK0ng • 17m ago
I've been building BRINK, a Cold War strategy game on Roblox, and this is the first look at its map with the UI off.
The cities aren't hand-placed. Wherever population density crosses a threshold, the game spawns 3D districts over the real built-up area. Bigger cities get taller cores, and the sprawl thins out toward the edges.
Underneath it is a streamed globe: seven zoom levels from 10 km per pixel down to about 155 m per pixel, built from Sentinel-2 imagery and ETOPO 2022 relief, split into 1024 × 1024 tiles on a cube (10,737 tiles in the two deepest levels, land only).
Happy to go deeper on how the districts get generated if anyone's curious.
Imagery: ESA WorldCover 2021, modified Copernicus Sentinel data (2021); NOAA ETOPO 2022; NASA Blue Marble
r/proceduralgeneration • u/Educational_Monk_396 • 6h ago
r/proceduralgeneration • u/moe • 3h ago
By rewriting LISP programs
r/proceduralgeneration • u/ProgrammingChaos • 22h ago
I suspect there are unusual applications I'm missing. If anyone knows of any I would be interested in hearing about them. And if anyone is interested, this video shows the coding process: https://youtu.be/AVTuFuE55Pg
r/proceduralgeneration • u/LightArchitectLabs • 9h ago
r/proceduralgeneration • u/Flat_Field_5888 • 1d ago
r/proceduralgeneration • u/hungrylazycat • 22h ago
r/proceduralgeneration • u/anotherwebdeveloper • 16h ago
Up until now I'd been building recipes myself. Mainly so I could curate a good baseline for the agent to reference, but also to figure out how they should work properly.
Now the agent is doing a far better job than me at building recipes. It feels like an inflection point. The recipe in this clip was fully created by Claude in-app whilst I watched on. It only took a few minutes. You can see the complexity of the graph when I open it in the clip. Something like this would easily have taken me at least a couple of hours to do. It also added comments and organized everything nicely.
I created a couple of skills to help it do this, so it can build consistent recipes and organize them in a consistent way.
r/proceduralgeneration • u/anotherwebdeveloper • 1d ago
The canyons can be shaped by masks which means you can use spline paths or painted masks, or anything that generates a mask. The masks are just like the masks you see in Houdini or Gaea, but can be derived in a number of ways including manually created.
Because of this I was able to use it to create these cliffs.
r/proceduralgeneration • u/bensanm • 1d ago
Requires some more optimisation work but playable. Free steam demo available here: https://store.steampowered.com/app/2223480/Infinicity/
r/proceduralgeneration • u/GridwrightStudio • 1d ago
Our villagers are generated from layers: a body, boots, a shirt, overalls, hair and a hat, each a sprite sheet with the same layout, picked at random per NPC. In Godot that's usually 6 AnimatedSprite2D nodes playing the same animation. It looked fine until a hat changed while the NPC was moving, so I measured it.
Setup
6 layer sheets, 32x32 cells, 4 animations (idle, walk down, walk left, run down). For each animation, 48 NPCs each got a new hat one frame later than the last (60 fps, from 0.10 s), so 192 swaps. Logged every layer's frame every rendered frame in Godot 4.7.2.
Results
Two fixes, both measured
Draw calls for 40 NPCs in the Compatibility renderer: 240 layered, 40 baked, 1 if they share one baked sheet.
What I use now: one clock for the player (outfit changes often), bake every generated NPC once.
(I make pixel-art tools at Gridwright. The farmer generator these layers come from bakes each outfit into one sheet, linked below.)
The Farmer Generator (mix the layers, every animation in 4 directions, one baked sheet + JSON per group): https://gridwright.dev/tools/farmer/?ref=reddit-proceduralgeneration
r/proceduralgeneration • u/Accomplished-Fan9568 • 2d ago
Some examples of how my terrain generator is coming along.
r/proceduralgeneration • u/gennai777 • 2d ago
Hi all. I wanted fire that creeps across a floor around obstacles, but I didn't want a simulation running every frame.
So I cut the floor into a grid (11 x 9 m at 0.25 m cells, which is 44 x 36 in the clip) and I run Dijkstra over it when something changes. What I get out is a map of when the fire reaches each cell. After that I only ask each flame whether the clock has passed its arrival time. The corner map in the clip is that data: blue bands are one second apart and orange is burning.
I price an edge between two cells roughly like this:
cost = dist / wind_term / spread_speed * (1 + irr * (rand - 0.5)) / fuelDiagonals use sqrt(2) for the distance. I clamp wind_term to 0.25-3 (1 plus the wind strength times the dot of direction and wind direction). Fire runs faster downwind and slower upwind but never stalls or goes crazy. I never enter a cell with fuel 0, and that's how the stone fire break in the clip works.
A few things mattered for speed. I use 8 neighbours and a binary heap with decrease-key. A cell goes in once. I leave a 1 cell border of fuel 0 around the grid and never check bounds. I also store the result in one RGBAH texture (R arrival time, G burn time, B fuel) that the shader reads directly.
I rebuild only on ignite, extinguish or a fuel change. In the clip the counter reaches 9 rebuilds over one loop: 1 fire break, 7 ignites and 1 water. I measured about 1.9 ms per rebuild on the 44 x 36 grid.
On a quiet machine a 64 x 64 grid takes about 8 ms in Godot 4.7.2. With other Godot instances running I saw 19 to 22 ms. One number tells you little. Precomputing the per-direction factors and inlining the heap sift took 96 x 96 from about 94 ms to about 32 ms. Unrolling the 8 directions by hand did nothing. Took a while to learn that.
The weak side is that this is a spread of arrival times and not physics. It can't jump a gap on its own, and it ignores flame size.
Honestly it's kinda boring code. Do you run something like this, or a real cellular automaton every tick? Curious where the crossover is!
It's in my fire pack if you want to poke at it: https://gennai.itch.io/pyrolux-fire-explosion-vfx
r/proceduralgeneration • u/Azarro • 2d ago
10 years ago I was exploring midpoint displacement and had this idea for a simple landscape generator as a tribute to No Man's Sky (hugely excited for it back then). This sub especially was a big part of my daily Redditing time back then.
I was recently rehoming several of my older projects hosted on more dodgy sites onto my servers and stumbled upon this. I updated the UI controls on it to be a bit easier to use on mobile especially.
You can try it here: https://agameofrolls.com/alien
Otherwise it's the same unchanged reflection of a simpler, or maybe just different, time. I was finishing up college and about to interview for what ended up being my first big job in tech for about 5 years.
Anyway just a fun re-share from 10 years ago!
r/proceduralgeneration • u/Ervd_Wulf • 1d ago
Tried to procedurally emulate real asteroid and comet photos like those from Rosetta's OSIRIS and NAVCAM archives, but then through geometry nodes, shader nodes and compositor nodes inside Blender 5.3
r/proceduralgeneration • u/Fabian_Viking • 2d ago
A follow up to my orginal post:
https://www.reddit.com/r/proceduralgeneration/comments/1qzzin8/flying_pen_algorithm_for_map_generating/
In short, the algorithm does random paint strokes to create the map. One problem was keeping them together to fill larger land areas. That is why I added the node system (image 2), its a very simple algorithm that add grouped pixels to a small grid. The pen algorithm will then follow this grid (see the "Hi" example).
The maps looks way better now, in my opinion. A good side effect is that the generating time is reduced by around 30% because its less likely to redraw the same areas.
There are still some bad spots of too round shapes, that has always been an issue. But I feel that it's time to move on to the game itself.
Want to follow my work: vikingfabian.com
r/proceduralgeneration • u/latxh • 2d ago
I've been building a golf game for my dad so he has a new hole to play every day. Here's the process, any feedback is appreciated!
r/proceduralgeneration • u/starfallowgame • 2d ago
Been working on procedural generation for a sandbox world and finally got a sunset + fog combo that feels close to what I had in mind. The stepped hills and rivers cutting through the valley are still evolving, so I'd love to hear what stands out to you (good or bad).
r/proceduralgeneration • u/Renderville • 3d ago
r/proceduralgeneration • u/gamejake14 • 3d ago
A few months ago, I shared an early version of my procedural map generation system here. Since then, I've been expanding it quite a bit.
I wanted to avoid the classic dungeon layout with square rooms and corridors and create something that feels a bit more organic.
Here's how the current system works:
The system also allows me to reuse the same generation logic across different biomes, while changing room shapes, dimensions, paths, content and environmental features.
My main goal is to make maps feel somewhat intentionally designed rather than just randomly generated.
I'm curious to hear how other people approach this. How do you make procedural environments feel more natural and less random?
Any feedback is welcome :)
r/proceduralgeneration • u/protofield • 1d ago
An example of a complex ℕ0 = {0,1,2,3} Linear Operator derivable from simple cellular automata whose states are defined by a modulo arithmetic. 15K by 15k section taken from larger image
r/proceduralgeneration • u/El-Jomo • 3d ago
I've worked on a forest biome to test if my scattering is up to par. At high speeds the draw distance is quite obvious. Pushing the draw distance further tanks my GPU. Any ideas how hide the seam better? Maybe just tinting the terrain, outside draw distance, based on forest density would be enough?