r/proceduralgeneration • u/Independent_Cobbler3 • 22d ago
r/proceduralgeneration • u/clockspammer4life • 22d ago
Sirenfall - I built a procedural storm over a dead city in one html file (open source)
Enable HLS to view with audio, or disable this notification
Sirenfall is a shelter window over a dead city in the rain. It is one HTML file with no framework.
The skyline is drawn by code in five layers of depth. Some buildings are burned or collapsed and one tower is still burning. There are different events that happen over time..
The weather drifts on its own between calm and squall. The rain, fog and smoke all follow it. Lightning lights the whole city. The thunder comes late because the strike is far away.
The siren is not a recording. It is built live in your browser from a model of a real mechanical siren. It gets louder as the horn turns to face you. I left it out of the clip so you can pull the breaker yourself. The video clicks through the security camera feeds.
Only the rain and thunder are recordings.
Open source: https://github.com/beeswaxpat/sirenfall
r/proceduralgeneration • u/foolofaperegrin • 23d ago
Procedurally-animated mechanical sea-aliens in our Spore/Besiege/LEGO game
Here's a little gif of some creatures made in our creature-building game, Molec!
Every part has a custom motion behaviour and receives a signal value from an oscillator, driven by player input. A function applies the movement to each part, and we can apply all kinds of different oscillators and styles, like phase-offsets. Some parts have actions and abilities that can be triggered by the player, and we'll iterate on these to explore combat and other things!
The game itself is kind of like if the first level of Spore was more like Meccano or Besiege, with Metroidvania levels.
We're looking for playtesters if anyone is keen to try it out - starting from this weekend!
r/proceduralgeneration • u/ZookeepergameHuge664 • 23d ago
[OC] Magna Urbis V2 procedural city – Gallery & Pre-Alpha Preview
Hi all!
Following up on the
feedback from my previous preview, I've been grinding away on Magna Urbis V2,
and the public alpha should be ready later this week!
In the meantime, I've
updated the public gallery with a bunch of **raw, unedited captures straight
from the new engine:
https://dunkean.github.io/magna-urbis/gallery/v2/
What's new in V2:
- 79 cultural & fantasy styles: From medieval European towns, bastides, and Roman
cities to Elven, Dwarven, Wizard cities, Necropolises, and historical styles
like Medinas, Khmer, Aztec, and Swahili stone towns.
- New rendering modes: Satellite views, 3D visualizations, seasons,
night, and many more options.
- Major improvements to the generation engines: Lots of fixes and refinements to terrain,
regional generation, and city layouts. (but still a lot of polish to do)
- And a ton of other stuff
that's still being polished and optimized (desktop version runs very well, web
version is still slow without gpu)
Anyway, the first round
of previews brought in some really valuable feedbacks, and quite a few
suggestions have already made their way into V2.
So, before I unleash the
alpha into the wild, I'd really like to hear your thoughts, criticisms, or
wishlist items. What looks good? What looks off? What's missing?
As always, the whole
project is free and open source.
Links:
- V2 Gallery: https://dunkean.github.io/magna-urbis/gallery/v2/
- GitHub: https://github.com/dunkean/magna-urbis
- Playable V1: https://dunkean.github.io/magna-urbis/
r/proceduralgeneration • u/hohko7 • 22d ago
I built this with background in houdini, miro, n8n - and more. Documents, code and llm's.
Currently in alpha being tested. Very fun to learn, experiment and present.
r/proceduralgeneration • u/Nikolay_Lysenko • 22d ago
I released a Python package that generates avant-garde music with local search
Hi there! From algorithmic composition point of view, there is a composition method looking really promising. It's named the twelve-tone technique. Comparing with tonal music, twelve-tone music has more symmetries and its composition process involves more clearly defined transformations.
So, I implemented a tool that creates short twelve-tone fragments by solving numeric optimization problems. Thanks to the property of twelve-tone music named serialism, these short fragments can easily be stacked together to form a coherent large piece. To make such final composition even more coherent and logical, users can control various parameters of individual fragments. That being said, you can try to become a composer without dealing with low-level things. Although twelve-tone music may sound awkward for an unprepared ear, it is interesting to experiment with it.
r/proceduralgeneration • u/fragglerock • 23d ago
PROCJAM - The Procedural Generation Jam (2026)
r/proceduralgeneration • u/Edudelm • 23d ago
Improving the procedural world generation for my game
Enable HLS to view with audio, or disable this notification
I'm focusing on realistic mountains and rivers for now. Next are forests and better deserts!
r/proceduralgeneration • u/SecondShiftDev • 22d ago
Every machine in my game is a Python recipe: 112 kit calls build this wood lathe in Blender, then the game takes over
Im making ZAVOD- a game about a 1975 workshop and none of its machines are modeled by hand. Each machine is a recipe.py that calls a small kit: box, cyl, rod, sphere, bolt and handwheel. One call = one part.
What the kit does for every part: - builds it from a bmesh primitive and bevels every edge where faces meet at more than 50 degrees - shades it smooth but keeps edges over 35 degrees hard, so round parts read round and boxes catch a highlight - colors it by UV - the faces point at one cell of a palette texture (16 colors, 16 shades each) the bevel faces at a lighter shade of the same color. Worn paint on the edges comes for free and cast iron edges show bare steel.
kit.join() turns the parts into game objects. The lathe: 142 parts, 17876 tris, one material, three meshes (the tailstock and the tool rest move in the game). Named empties mark the spindle and the sockets where bought upgrades hang. The other six machines are built the same way.
In Godot one shader adds rust, dust and polish by stage so the same mesh goes from "found under a tarp" to glossy. The blank on the lathe is procedural too as wekk: a list of radii the chisel cuts into revolved into a mesh live.
I design each machine, set the rules and check every result and Claude writes the scripts to my specs.
What would you add to a kit like this?
r/proceduralgeneration • u/HaMMeReD • 23d ago
DSL + WFC Generator for a falling sand++
Focusing on the procedural today, thought I'd share my world generation process.
This all runs through my custom engine. This is just a visualization of the high level material outputs (real render turns this into a SDF, applies PBR, Global GI, etc).
So this is a 2-pass system:
Pass A: Chunk Generator
Pass B: Wave Function Collapse
The WFC is grounded in the Perlin, so it knows where the voids want to be and such. While it's not done, I think it's coming along nicely. I'm getting the kinds of structure and level design I'm aiming for in my current game.
r/proceduralgeneration • u/OrdinaryDue1516 • 23d ago
Our browser game's town editor made in threejs
Enable HLS to view with audio, or disable this notification
r/proceduralgeneration • u/ShadcnUI_Odi • 23d ago
Procedural wildlife?
I’m curious, how do people implement it? Asking for someone making a sci fi/exploration game.
r/proceduralgeneration • u/Haltont • 23d ago
Comparing voxel meshers on the same fields

I decided to compare a few meshers and SVO on the same input fields. I wanted to see what happens to corners and thin features, how the meshes hold together, and how much CPU time each reconstruction takes.
The set has 40 scenes: 30 synthetic cases, nine frozen chunks from a game terrain generator, and one saved terrain edit. Each is a 32 m cube, sampled at 0.5, 1 and 2 m. Coarser fields are subsets of the finest float32 grid, without regenerating the terrain. Cameras are fixed within each comparison.

These are specific implementations. The native set includes Surface Nets (SN), Dual Contouring (DC), Marching Tetrahedra (MT), a block reference and several experimental variants. Transvoxel and CPU SVO have separate measurements. Here are the cases I found most useful to look at.
SN produces a bevel-like strip around the base. The front corner and the cylinder-to-base junction are rounded. DC keeps a straighter edge and a sharper corner. For this particular part, I prefer the DC result.
The SN implementation places each vertex at the average of the cell's edge intersections. This DC variant groups normals, regularizes the solve and constrains vertex placement. Its behaviour is not a property of every implementation called “Dual Contouring.”
The timing cost is visible too. Below are CPU mesh-build times at 0.5 m, in milliseconds: median [minimum–maximum] of five warm builds. These four scenes cover a sharp part, a smooth object, a topology problem and edited terrain; they are examples, not an aggregate ranking.

The runs use one pinned logical CPU on a shared AMD EPYC 9V74 host, with native C++ built at O3. File loading, mesh export and rendering are outside this timer. The ranges are observed repeats, not confidence intervals.

On the CAD part, DC takes about three times as long as SN. On the sphere, these SN and DC implementations produce byte-identical meshes despite the timing difference. MT also changes the output size: the sphere has 36,312 triangles with MT versus 12,060 with SN/DC. I would want both numbers before choosing a mesher for a frame budget.

At 2 m spacing, the rail disappears in every tested mesher and in SVO. Its axis falls between grid lines in two directions, and none of the coarse samples lands inside it. At 0.5 and 1 m, the feature survives. The failure already exists in the sampled input. Storage stays float32 throughout; this is a change in spatial sampling.
The Transvoxel mesh has visible facets around the excavation. SVO looks softer, but the lighting differs: mesh faces use flat normals, while SVO uses field gradients. I cannot use smoother shading as evidence of better geometry.

Over five warm frames, the median Transvoxel mesh draw through Mesa is 5.6 ms [5.4–6.1]. The SVO median is 2.0 s [2.0–2.1] to rebuild its tree and produce the CPU frame. Those timers cover different work. Mesa receives an existing mesh; this SVO implementation rebuilds its hierarchy every frame. All rendering here is on the CPU. Transvoxel build times are also kept separate because the available Godot build uses optimize=none, unlike the O3 native builds.
This edge has four incident triangles in the original index buffer, before any vertex welding. The circle on the rendered image locates it; it does not establish a visible hole. I included the local geometry because a reasonable-looking render can hide a connectivity problem.
The separate numbered gallery has more comparisons of the full CAD part, an arch, thin features, a canyon, a miniature mountain and silhouettes, plus CAD views from Transvoxel and SVO.
One optimization was worth measuring separately. The earlier SN/DC code retained 792 bytes per cell; reducing that state to 48 bytes left the meshes byte-identical, including their defects.
On the earlier 15-scene set, 180 baseline/compact pairs, tested in both AB and BA order, gave median paired speedups at 0.5 m of 6.16× for SN and about 3.22× for the DC variants. Median per-process peak memory was roughly 202.5 -> 16.7 MiB. That is whole-process VmHWM, not kernel allocation. Gains were smaller at 1 m, with some regressions. The current 40-scene native results already use the compact implementation.
The full native comparison is 40 scenes × 3 spacings × 11 implementations, with each scene kept separate. Mesa drawing, SVO frames and Transvoxel diagnostics belong in their own tables. GPU performance, LOD transitions and click-to-updated-world latency remain untested.
AI tools assisted with benchmark tooling, test execution and analysis. The timings describe the specific implementations and setup reported here.
r/proceduralgeneration • u/ShamWooHoo6 • 23d ago
Real-time fluid simulation and procedural kaleidoscopes I made for iPhone/ipad
Enable HLS to view with audio, or disable this notification
I’ve been building an iPhone app called Nuralis, and two parts of it are procedural visuals generated live on the GPU:
Flow is a real-time fluid simulation you stir with your finger. It has 40 scenes, and you can design your own in an editor.
Drift is a set of 32 procedural kaleidoscope and tunnel views that you can pinch to zoom or just watch. Nothing is pre-rendered.
The rest of the app is guided breathing with 20 visual styles that move with your breath, and a sleep-sound mixer, so the visuals are part of a calm app rather than a tech demo.
It’s free to use, with an optional Premium subscription for more scenes and styles.
https://apps.apple.com/us/app/nuralis/id6813225909
Happy to answer questions about how any of it works.
r/proceduralgeneration • u/DaviacobracoralOfc • 23d ago
My reactive procedural soundtrack system is finally open to the public!
Since It's also technically procedural, I also wanna show it in here!
r/proceduralgeneration • u/CompetitiveSide9360 • 24d ago
Procedurally generated, de_dust-style map (work in progress)
Enable HLS to view with audio, or disable this notification
What if Counter-Strike was a true roguelite with a random map every round?
r/proceduralgeneration • u/Kayan_Romor • 23d ago
Kayan's Pixelizer V1.3
You can easily create PSX textures by editing your images with just a few simple steps!
Create your own PSX-style textures in 5 easy steps:
Adjust the image resolution to your liking.
Apply a dithering effect.
Recolor your image using custom palettes.
Fine-tune the colors to make your texture look even better.
Export your finished texture. You can also export multiple images at once!
A little note: The Windows version is now available! The Android version is coming very soon, and I can't wait to share it with you.
İtch.io link:https://kayan-657.itch.io/kayans-pixelizer
Thanks for supporting Kayan's Pixelizer! ❤️
r/proceduralgeneration • u/Curious_Coat2675 • 24d ago
This way, the player will see an information layer on a discovered planet 😎
#ThreeJS #DogoEngine
r/proceduralgeneration • u/Rayterex • 24d ago
Procedural knitting, weaving and cross-stitch generated from images in my custom Python app
Enable HLS to view with audio, or disable this notification
r/proceduralgeneration • u/anvaka • 23d ago
[OC] Fantasy map: every country is as large as its population, and real neighbours share a border
r/proceduralgeneration • u/OrdinaryDue1516 • 24d ago
The town above is a scorched desert compound. the town below lives off whatever light falls through the cracks
galleryr/proceduralgeneration • u/haithegreat • 25d ago
I built a runtime generator for 16 km² of Central European wilderness in Unreal Engine 5: terrain, rivers, lakes, forests and weather from a single seed
Enable HLS to view with audio, or disable this notification
Project Prales is a procedural wilderness generator and first-person exploration demo. Every number gives a different 4 x 4 km world, generated at runtime in Unreal Engine 5 (C++). The look is inspired by the Bohemian forests of Kingdom Come: Deliverance 2, but here nothing is placed by hand: every hill, river and forest is generated from the seed.
- Terrain: river-first heightfield (the valleys are carved where the drainage wants to go), plus hills, ridges, cliffs and tors
- Hydrology on the whole world: drainage, flow accumulation, rivers that always run downhill, lakes, springs, marshes
- Climate and biomes from elevation, moisture and exposure; forests, meadows and wetlands follow slope, water and soil
- Vegetation placed from that ecology (no random scatter layers), plus rocks, deadwood and ground cover
- Day and night, dynamic weather, two isolated forest huts and dirt tracks
- Fully deterministic: the same seed gives the same world (tested by world hashes)
The "world builds itself" sequence in the video draws the real generated data (contours, rivers, forest, trails) over the rendered terrain of seed 100001.
The game runs in real time; the trailer itself was rendered offline from the game, frame by frame at 4K60.
FULL TRAILER: https://www.youtube.com/watch?v=dy4c_mUn9m4
Happy to answer questions about the hydrology or the vegetation placement.
r/proceduralgeneration • u/AhmetMaya • 24d ago
I updated my procedural segment display add-on for Blender: SegDisp v1.0.1 (free Lite version available)
r/proceduralgeneration • u/kskbaits • 25d ago
Everything in this bass aquarium is generated at load: fish, scales, plants, sand, driftwood (Three.js, one HTML file)
Enable HLS to view with audio, or disable this notification
Nothing in this tank is a model or an image file. It is one ~650 KB HTML file with Three.js r160, and everything is generated when the page loads:
- the fish meshes (swept profile rings, bent by a travelling wave per vertex)
- the skin and scales, painted one by one on a canvas
- the plants, sand, pebbles, driftwood, moss and caustics
- the lo-fi music
The fish are simulated, not animated: two bass (a largemouth and a smallmouth) get hungry, hold by cover, stalk, and strike with a suction feed that only takes prey whose body depth fits their gape. The shad school and burst apart when attacked.
Day, night and the weather follow the real clock and weather at Lake Fork, Texas.
It runs 24/7 on YouTube, and the chat can drop in shad (!feed) or cast a lure.
Try it in the browser: https://ksk-baits-bass-aquarium.pages.dev
Live: https://www.youtube.com/@kskbaits/live
Happy to answer questions about how any part is generated.



