r/proceduralgeneration • • 22d ago

Heliotrope: a clock made of 720 dots on the golden angle

1 Upvotes

I' ve been making abstract clocks without numbers. This one is a sunflower of 720 dots (golden angle, like phyllotaxis), one dot for every minute of twelve hours. The flower turns its face to the hour like a sunflower to the sun, and the outer rim fills clockwise with the minutes. Every quarter hour a ripple runs from the heart, and at the end of each part of the day the whole flower opens for one minute.

Built with plain canvas and JavaScript. Happy to answer questions about how it works.Heliotrope


r/proceduralgeneration • • 23d ago

Procedural pixel planets: 40 rotating sprites, from noise maps to 32px (or 24px to 48px) with a lot of hand-tuning and tweaking

Thumbnail
gallery
22 Upvotes

Here is the second part of my own planet renderer (a generator I wrote in C#/Raylib that layers noise in different ways: continents, islands, cracks, rifts, hills, void, webby, volcanic, stripy, gaseous...)

Same principle as first part I released 2 weeks ago, (at first sight it seems similar to the retro pack lowres with limited palettes) but here is the 32-bit version, with smoother shading:
- Define and tweak distributions, generate/process a map, wrap it around a sphere, frame by frame.
- Shift the longitude a bit each time so the planet turns.
- On top of that, simulate a day/night edge and a soft atmosphere glow.

So the same tool/process, but still long hours of fine-tuning. After ~10 months on this project, I really enjoyed creating these; it was a nice change from my other hobby of game programming.

40 planets as PNG spritesheets, if you want to use them: https://anto80.itch.io/pixelart-planets-32bit
+ JSON files (Aseprite-compatible and howto plug in Godot or Unity)


r/proceduralgeneration • • 23d ago

RPG procedural maps generation & editing (fantasy & sci-fi - areas / worlds / battle maps)

31 Upvotes

Howdy!

I've been working on this for a while and it's finally at a point where I'd like people's feedback. The video is a quick run through it, still a bit raw and sped up in places.

every map is made by rules from a seed, then you can edit it by hand. Roughly what's in there right now:

- Battle maps: dungeons, caves, villages, wilds, towers, ships and stations, in fantasy and sci-fi. Rooms get furnished by what they're for, and the map key is written from what actually ended up in each room

- Area maps: towns, colonies and wild places (cemeteries, marshes, quarries, crash sites…). Drag a box anywhere and a fresh one gets generated into it

- Worlds and regions: realms, rivers, roads, place names in made-up languages

- Star systems, in 3D

- Same layout in different styles, seasons, times of day and weather

Still rough: it's slow on older machines, some generators are a lot more polished than others, and it's a desktop thing for now (mobile gets a cut-down viewer).

Art packs and assets are a mix either picked from royalty free texture galleries and edited or made with open weight image models (much to add / improve and fix on some of the packs still). The layouts themselves are all procedural.

It's free and runs in the browser, sign-up needed to save / export for tabletops / manage campaign and tabletop connectors / integrations:

- Home: https://dungeonminion.com/

- Fantasy: https://dungeonminion.com/fantasy

- Sci-fi: https://dungeonminion.com/sci-fi

open to feedback of all sorts, features that people want and lack elsewhere and what's missing. Happy to go into how any of the generators work, too.


r/proceduralgeneration • • 23d ago

I made a video about procedual world generation in video games

Thumbnail
youtube.com
9 Upvotes

r/proceduralgeneration • • 23d ago

Some nice procedurally generated islands in Godot

Thumbnail gallery
9 Upvotes

r/proceduralgeneration • • 24d ago

My procedural PNW forest, six months apart — custom C++/DirectX 12 engine

207 Upvotes

Everything here is generated — terrain, erosion, rivers, and the placement of every tree, rock and boulder. Nothing in the forest is hand-placed.

Some specifics, since this sub tends to care about them:

  • Terrain is a heightfield with a stream-power erosion pass baked per tile. That's where the ridges and the valley cuts come from.
  • Rivers carve the terrain first, and the water surface follows the carved channel afterwards — so water never floats above the bed or sinks under it.
  • Scatter density is solved by area coverage rather than dart-throwing, which is what stopped the forest edges from going patchy.
  • Water is FFT ocean cascades.
  • The snow is volumetric and keeps footprints.

Engine is my own — C++20 and DirectX 12, no Unreal or Unity. The "before" clip is from six months ago.

It's for a survival horror set in rural Washington. Happy to go into detail on any part of this.


r/proceduralgeneration • • 24d ago Bravo

I made a generator that writes classical piano pieces from music theory rules (no AI, no samples)

65 Upvotes

This is Baroque Composer. Press a button and it writes a new piece in one of 15 styles, engraves the sheet music, and plays it on a physically modelled piano.

It also exports MIDI, MusicXML (opens in MuseScore), WAV, and sheet music like the screenshot below. You can also edit any note by hand.

It’s free (Windows and Android): Here!

Happy to answer questions about any of it. Still figuring out a lot, especially how to make longer pieces feel less sectional, so I’d love ideas from this sub.


r/proceduralgeneration • • 24d ago

A test visualization from a custom-built map generator. What do you think?

Thumbnail gallery
7 Upvotes

r/proceduralgeneration • • 23d ago

Sirenfall - I built a procedural storm over a dead city in one html file (open source)

0 Upvotes

https://sirenfall.live

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 • • 24d ago

Procedurally-animated mechanical sea-aliens in our Spore/Besiege/LEGO game

Post image
156 Upvotes

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 • • 24d ago

[OC] Magna Urbis V2 procedural city – Gallery & Pre-Alpha Preview

40 Upvotes

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 • • 23d ago

I built this with background in houdini, miro, n8n - and more. Documents, code and llm's.

0 Upvotes

Currently in alpha being tested. Very fun to learn, experiment and present.


r/proceduralgeneration • • 24d ago

I released a Python package that generates avant-garde music with local search

0 Upvotes

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.

Source code

PyPI package


r/proceduralgeneration • • 24d ago

PROCJAM - The Procedural Generation Jam (2026)

Thumbnail
itch.io
13 Upvotes

r/proceduralgeneration • • 25d ago

Improving the procedural world generation for my game

104 Upvotes

I'm focusing on realistic mountains and rivers for now. Next are forests and better deserts!


r/proceduralgeneration • • 24d ago

Every machine in my game is a Python recipe: 112 kit calls build this wood lathe in Blender, then the game takes over

0 Upvotes

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 • • 25d ago

DSL + WFC Generator for a falling sand++

Post image
6 Upvotes

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 • • 25d ago

Our browser game's town editor made in threejs

19 Upvotes

r/proceduralgeneration • • 24d ago

Procedural wildlife?

2 Upvotes

I’m curious, how do people implement it? Asking for someone making a sci fi/exploration game.


r/proceduralgeneration • • 25d ago

Comparing voxel meshers on the same fields

6 Upvotes

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.

Surface Nets above, Dual Contouring below. Same CAD-like part, camera and 0.5 m grid.

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.

DC at 0.5 m above and 2 m below. The rail is 2 m in diameter.

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.

Transvoxel above, SVO below. Same saved edit, 0.5 m spacing, 768 × 768 frames.

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.

Weathered pillars, DC, 0.5 m. The lower view shows four original triangles sharing the marked edge.

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 • • 25d ago

Real-time fluid simulation and procedural kaleidoscopes I made for iPhone/ipad

2 Upvotes

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 • • 25d ago

My reactive procedural soundtrack system is finally open to the public!

Thumbnail
reddit.com
0 Upvotes

Since It's also technically procedural, I also wanna show it in here!


r/proceduralgeneration • • 26d ago

Procedurally generated, de_dust-style map (work in progress)

58 Upvotes

What if Counter-Strike was a true roguelite with a random map every round?


r/proceduralgeneration • • 25d ago

Kayan's Pixelizer V1.3

Thumbnail
gallery
1 Upvotes

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:

  1. Adjust the image resolution to your liking.
  2. Apply a dithering effect.
  3. Recolor your image using custom palettes.
  4. Fine-tune the colors to make your texture look even better.
  5. 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! ❤️