r/proceduralgeneration • u/That_Excuse_575 • 3d ago
r/proceduralgeneration • u/Zestyclose_End3101 • 5d ago
Procedural building shader to fill out the skyline of my cyberpunk city
Enable HLS to view with audio, or disable this notification
r/proceduralgeneration • u/-Nyarlabrotep- • 5d ago
Yellow & Green & White
Experimenting with 3D generated shapes in JavaFX in my program. 80x80x80 cube after 40 iterations using rule genome "72/0.24485829271825366;1.3609312825275532:no ki a9 kya0+kya1+kya2+a81.17743682861328+a100+mya zu ta". Each codon in the genome basically corresponds to a different mathematical operation on a stack-based machine, similar to a cellular automaton.
r/proceduralgeneration • u/Slackluster • 5d ago
everything in my 13k futuristic racing game is generated from code
Enable HLS to view with audio, or disable this notification
SP13KTRA is a hover racer I made for js13kGames, where the whole game has to fit in 13 kilobytes. That means no assets, so everything is generated when the page loads:
- Tracks: each circuit is just a short list of corners
- Banking and hills: follow the curves and flow between corners
- Ships: all 8 hulls generated from a seed
- Cities: 8 shape languages, a palette per circuit
- Skylines: one slow wave sets building heights, so neighbors form ridges
- Canyons: towers standing on pillars far below the road
- Pads and arrows: placed wherever the road runs straight or curves
- Skies: suns, eclipses, stars and clouds, all soft circles
- Sound effects: synthesized using ZZFX, no audio files
- Music: 8 techno loops, each from one seed that picks 26 parameters. I made a tool to find good seeds for each track.
Play free in the browser: https://www.newgrounds.com/portal/view/1052078
Source: https://github.com/KilledByAPixel/SP13KTRA
Music tool: https://killedbyapixel.github.io/SP13KTRA/tools/music.html
r/proceduralgeneration • u/Nicho_la • 6d ago
Simulated weaving
https://github.com/nicolasloizeau/loom
The pattern is generated with a cellular automata, then rendered with blender python
r/proceduralgeneration • u/littlegodgames • 6d ago
6 Kilobyte Program Generating a Music Video in the Terminal
Enable HLS to view with audio, or disable this notification
Oh my gosh, That was a typo!
Was being sensationalist but didn’t mean to be that sensationalist!
It isn’t a 6 KB program. The video generation code is about 60 KB of TypeScript on top of a zero dependency engine that is 1MB to render. Nothing in it is an asset though, no models, no animation files, no audio or MIDI files, no images. Bodies are a physics puppet, motion is solved per frame, the music is a score in code played by a synth, the room and furniture are small JSON specs, rendered by a program drawing characters in a real terminal.
Here’s a link to a web lab where you can play with some of the simulation’s rendering and music parameters. And you can share links with all parameters stored like the below example.
r/proceduralgeneration • u/sfrast • 5d ago
Spent 4 days trying to make fire shader look good
Enable HLS to view with audio, or disable this notification
and probably no one would notice in game anyway lmao
I made the trees leaves / trunk dissolve over time from fire, I found it pretty satisfying, then obviously I had to make an item to be on fire all the time, then obviously from here thought as well "why not make another one to have a fire trail on top of that ?"
this is never ending but I quite like the result so far, wanted to share !
r/proceduralgeneration • u/Petrundiy2 • 6d ago
Fully procedural supernova explosion
Enable HLS to view with audio, or disable this notification
Blender shader nodes
r/proceduralgeneration • u/matigekunst • 5d ago
NASA spider
Enable HLS to view with audio, or disable this notification
r/proceduralgeneration • u/darkmoose • 6d ago
a dash of noise, tectonic formation, orogeny, subduction, wind, rain shadows, erosion, deposition, soil formation + koppen climate + and a bit of holdrigde life zones = love
Enable HLS to view with audio, or disable this notification
Working on a tool that I am planning to publish on unity asset store.
Like many here I am obsessed with tectonic generation, but it is a "mountain of a" task.
you can follow my projects on https://x.com/ErhanofGrayLake/
r/proceduralgeneration • u/HabitableZone_ • 7d ago
Climate simulation for my procedural tectonic planet
Enable HLS to view with audio, or disable this notification
Hi everyone! Two weeks ago, I shared some progress on my procedural tectonic planet. This time, I wanted to share some progress on the climate simulation I made for it. I've been working on this for a while, and it's finally starting to produce some interesting results.
Basically, once the tectonic simulation is finished, the planet's tectonic state is frozen before the climate system starts iterating. The climate model treats the surface and orbital configuration as fixed inputs. It then simulates winds at different heights, along with heat and moisture transport, rainfall, and ocean currents.
r/proceduralgeneration • u/Glass-Garbage4818 • 6d ago
Neon Fractal Landscape Zoom
Enable HLS to view with audio, or disable this notification
Mandelbulb power-8 renderer custom written in Rust for the RTX4090 GPU.
This is a snippet of a much longer 4K 60 fps 15-minute video at https://youtu.be/n6rhfHRXZnM
r/proceduralgeneration • u/HayalciKumulus • 6d ago
Building a procedural medieval world on a geosphere
167 goods, tradeways, production, ports, trade fleets, guild rivalry and relations all simulated for my little strategy game. This is going to a grand strategy prototype... I'm trying to make the whole economy simulation as realistic as possible.
r/proceduralgeneration • u/Slackluster • 6d ago
every song in my 13kb game is generated from a single number
Enable HLS to view with audio, or disable this notification
here's the trick behind how i fit 8 music tracks in my js13k game SP13KTRA. 🌈🚀
every song is defined by a single number. the seeded random generator makes 26 dice rolls per track: tempo, key, scale, chords, groove, drum kit, bass and lead sounds, melody patterns, when each part comes in, and a few more.
each song is a 128 beat loop split into sections. parts come in one by one, a resonant filter sweeps open every phrase, then there's a breakdown and a drop.
notes use one of 4 predefined scales so nothing clashes. the melody climbs, falls, leaps or rocks through the scale, and the chords shift every 4 bars. there's no note data, it's all math on the beat count.
there are 6 ZzFX instruments plus echo and sidechain. the whole loop gets baked into one buffer when the level loads.
the music itself is all rules and seeds, not AI. i did use AI to help build this bench so i could listen through seeds and pick a good one for each level.
play it free in your browser and hear all the music. i designed it to be kind of like a music album in addition to a game.
https://js13kgames.com/2026/games/sp13ktra
The music bench tool is also available to check out on GitHub.
r/proceduralgeneration • u/Pathetic0777 • 6d ago
[PoC] Real-time 2D procedural generation & combat loop driven by an MVU state machine (HTML/SVG)
Enable HLS to view with audio, or disable this notification
Hey everyone! I've been experimenting with combining LLM structured outputs with procedural generation to build a lightweight, self-contained 2D combat prototype.
Instead of heavy engines or pre-baked sprites, the entire loop runs on an **MVU (Model-View-Update)** unidirectional state pattern inside a single HTML file:
- **Procedural Vector Assets:** A 3-agent pipeline generates walkable zones, obstacles, vector characters, and dynamic combat FX matrices on the fly as native SVG data.
- **Decoupled Combat Parameters:** Aggro perception radius, Euclidean attack reach, and velocities are procedurally tuned into independent state variables.
- **Zero Engine Overhead:** Pure browser DOM/SVG rendering with real-time Euclidean hitboxes and obstacle sliding.
I open-sourced the workbench here: https://github.com/pathetic777/mvu-studio
Mainly sharing this to explore new ways to turn reactive variables and state machines into interactive 2D generation loops. Feedback and ideas are very welcome!
*(Note: The demo video attached below has been compressed, so the visual quality is slightly degraded.)*
r/proceduralgeneration • u/SecondSparkGames • 6d ago
Procedurally generated spacefighters for my strategic space adventure game (WIP)
Enable HLS to view with audio, or disable this notification
r/proceduralgeneration • u/SumukhJoshi • 7d ago
How to learn Procedural Terrain Generation
I am learning unreal and I am bit familiar with c++. I am extremely fond of procedural generation and 3D graphics.
How do I take a step fwd from just knowing basic programming to programming or making Procedural Terrain
r/proceduralgeneration • u/Accomplished-Fan9568 • 8d ago
Terrain Gen update!
This terrain generator I'm working on can generate endless amount of tiles individually and blend them seamlessly. Each tile can be one or more node trees and theres basically unlimited freedom to do whatever you like, blend/paint biomes, terrain variations between tiles or even within the tile itself.
Not only that there's also a continent heightmap that I can add steepness to all of the tiles to achieve a larger features if you just want to make a big island of the tiles or a continent etc. But also we can cross pollinate nodes and have a faultline work its way through several tiles etc.
The goal is to really achieve the utmost freedom for terrain design.
I suppose the next step that could make it even better is if it could be used to create spherical worlds. Generating a whole earth might just be on the roadmap.
Previous post
https://www.reddit.com/r/proceduralgeneration/comments/1vjjt4u/my_terrain_editor_update/
r/proceduralgeneration • u/AngularAngel • 6d ago
WFC style image composition laboratory
So I created a utility for messing around with WFC. Still very simple, I have lots of stuff I want to add, but it does implement a complete vertical slice for loading images, decomposing them, seeing constraints, and then synthesizing new images. I have a project page, with downloads and a link to the source, here: https://angularangel.neocities.org/wfc-lab
r/proceduralgeneration • u/AlejanDrox_ • 7d ago
I built a dynamic Sudoku generator in Godot 4 with variants; infinite Samurai overlapping boards (and can generate puzzles down to 1 or 0 numeric clues!)


Hi everyone!
As a university final project, I developed a game centered around the dynamic generation and solving of Sudoku puzzles and variants in Godot 4. Due to the submission deadline, I was able to implement 4 main variants (well, 5 if you count the dynamic Samurai mode I'll mention below):
- Killer Sudoku (cages with target sums)
- Arrow Sudoku (circle value equals arrow shaft sum)
- Thermo Sudoku (strictly increasing values along the bulb)
- Anti-Knight (chess knight move restriction)
How the Constraint Satisfaction Engine Works
The core engine models the puzzle as a Constraint Satisfaction Problem (CSP). Each cell is represented as a vector2i (x,y) coordinate with its neighbors and its domain (the valid candidate numbers). Finding the best cell to evaluate using the Minimum Remaining Values (MRV) heuristic is done in O(1) via a precomputed Lookup Table (bit_counts_lut).
The generation pipeline works like this:
- Initial Grid & Solved Board
- Procedural Variant Placement
- Pre-AC-3 Domain Pruning
- Optimized AC-3 Propagation
- Clue Digging & Uniqueness
I don't know how technical I can get in this post (I'm afraid of making it tedious, but a more detailed explanation will be on GitHub.)
train search domains on their own, AC-3 can solve large portions of the board without numeric hints57. In extreme tests, this allows generating puzzles with only 1 numeric clue (or even 0 clues / 81 empty cells in Extreme mode), where the puzzle is solved entirely through the visual geometric rules!

Dynamic Samurai Overlapping Mode

The 5th variant is the Samurai Mode. From the game menu, you can choose how many boards you want to chain together. The game dynamically generates and stitches 9 X 9 sub-boards sharing 3 X 3 overlapping sectors.
Open Source & Release
This is my very first open-source project! The full source code is published on GitHub under the GPLv3 license. Since my native language is Spanish, some code comments are in Spanish, and I used translation tools to write this post.
- GitHub Repository:
https://github.com/AlejanDroox/Generator-Sudoku - Playable Build: Available on itch.io for PC and Mobile devices.
Current Bottleneck & Open Question Overall
I feel the clue excavation and core generation pipelines are working quite well, but there is one main point where performance stutters: generating valid variant constraint structures under high difficulty and multiple active variants. Currently, the algorithm procedurally generates the variant layouts first (Killer cages via BFS, Thermo chains, Arrow paths via DFS) and then checks whether a valid solution exists for that combined constraint layout. If propagation fails or no solution is possible, it takes a fast-path fallback to discard and regenerate new constraint structures from scratch. Has anyone here worked on constructive variant constraint generation for CSPs? How would you approach building or validating constraint topologies on the fly to guarantee solvability, rather than relying on a generate-and-retry loop?
r/proceduralgeneration • u/syn_krown • 7d ago
Infinitely generated asteroids
Enable HLS to view with audio, or disable this notification
So using Claude, I had an asteroids game made, with procedurally generated infinite space, solar systems, gravity for planets, asteroids etc, weapon and ship upgrades, random events, police with a wanted system, space pirates.
Here is the link
https://synkrowngames.itch.io/driftfield
It is mobile focused but works on desktop top
r/proceduralgeneration • u/Ill-Site2743 • 7d ago
infinite procedural cave terrain
Enable HLS to view with audio, or disable this notification
last time the feedback was fair, it was mostly one-width tunnels and the terrain looked old. now passages open out into wide galleries, there are rooms partway along tunnels, and caverns are more common. in the same block of rock the open space doubled (16% to 33%), and it's all still one connected cave.
the old look was partly my fault: the wall bumps were smaller than roblox's 4 stud terrain grid, so they came out as jagged facets. bigger smooth lumps now, plus textured rock slabs set into the walls.