r/proceduralgeneration • • 10h ago Bravo

been working on this medieval house generator for about a year, you draw a street and it builds the houses

183 Upvotes

hey, first time posting my stuff on reddit

started this about a year ago with a professor of mine and kept building it since. it's medieval paris around 1500: you draw a street and it fills it with houses, each one is generated (storeys, roofs, timber framing, shop fronts, little props on the street etc). the core is written in rust and runs in the browser with three.js

still struggling a lot with the 3d side honestly, making the houses look less blocky and more like real old buildings. if anyone has tips on that, especially on modelling or procedural architecture, it'd help a lot


r/proceduralgeneration • • 10h ago

Did some work on near-surface rendering of my procedural planet. Took the opportunity to add walking as well

127 Upvotes

I'm targeting 60fps on RTX 3070 at 1440p native. Grass and Water are the big budget breakers right now and will need some optimization.


r/proceduralgeneration • • 4h ago Bravo

New massive scale Voxel engine in C++ and Vulkan.

Thumbnail
youtube.com
20 Upvotes

Been working on this project for about 2 months, and excited to share my progress so far! Some things in life allowed to take a chance, and make the game and engine we have been dreaming about since playing Minecraft for the first time over a decade ago (sheesh, time really flies). It is not much of a "game" yet, but building the groundwork for the engine has been a huge learning experience, and has been quite enjoyable for me.

So far, my goal with the project is to achieve massive scale environments and worlds that feel like they are living. With a fully simulated mix of living biomes where your outside knowledge can actually be applied in the world to help survive, and your actions impact the world around you permanently. For now, it is a fun little walking simulator at the very least.

The current world scale is fully adjustable (depending on what your hardware can support), up to 64km x 64km x 3km for pre-streamed worlds and support for infinite world generation, with currently 8 different Macro-biomes. Currently uses around 3-4 GB, with a 25% upscale to 4K and a 3000m viewing distance.

Voxel scale is 0.1m so my goal is to really push the limits, but tons of challenges with getting memory and performance optimized so far.

Written in C++ and Vulkan, running and recorded on an Nvidia GTX 3060.

If you have any questions about the project, do not hesitate to ask! I would love to dive into any of the technical details or plans for the project.


r/proceduralgeneration • • 2h ago

Mossy Stone Wall

Thumbnail
gallery
3 Upvotes

Hey Guys,
Excited to share my latest material Mossy stone wall done in Designer and rendered in Toolbag .

More renders and breakdown on ArtStation:
https://www.artstation.com/artwork/EYNqwK


r/proceduralgeneration • • 1d ago

Procedural pixel-art ocean

233 Upvotes

r/proceduralgeneration • • 7h ago

I'm making a Car RPG with procedurally generated locations, enemies and equippable items. Feedback is appreciated

2 Upvotes

r/proceduralgeneration • • 23h ago

Preview screenshots of Brickadia's upcoming procedural terrain

Thumbnail
gallery
27 Upvotes

r/proceduralgeneration • • 11h ago

Cornucopia fractal

Thumbnail gallery
1 Upvotes

Part of the procedural fractal generation engine based on the residual ñ = π − 3.

The original Πñ fractal begins with an open heptagon constructed from three one-radian steps around a unit circle. Its seven edges follow the sequence αβαβαβγ.

Hemp Ferñ generalizes the original construction by introducing an adjustable terminal endpoint, allowing the contraction ratios and resulting morphology to vary.

Cornucopias is an extension of this family further through independently rotating endpoints, selectable recursive edges, midpoint and true-chord similarities, and compound leaflet assemblies.

The same underlying geometry produces fern-like structures, spiraling horns, nested cavities, branching trees and intricate organic formations without relying on procedural noise.

Every specimen has a reproducible mathematical recipe. Repeating symbolic addresses generate nested self-similar structures, while address-based coloring reveals their recursive ancestry.

The interactive engine includes adjustable symmetry, contraction parameters, 37 diagnostic fields, deep zoom, horn isolation and image exports.

I'm particularly interested in its applications to procedural vegetation, organic architecture and worldbuilding.

Interactive Πñ HEMP Ferñ · Cornucopia engine:

https://red-cake-f8c8.howmuchdifferencedoes.workers.dev/

Original research paper and tool:

https://zenodo.org/records/23247320

HEMP fern paper and tool:

https://zenodo.org/records/24280209

Happy Thanksgiving! Feel free to experiment with the mathematics and share your discoveries.


r/proceduralgeneration • • 1d ago

Procedural race circuits: the racing line, then the world grown around it

58 Upvotes

I have posted here my first work a few months ago on my procedural track generator.

I have reached the v2 of the generator, and thought I would post here again.
How it works, roughly:

- I measured 173 real circuits (corner radii and angles, straights, length, compactness) and the generator samples corners and straights from those distributions.

- The sequence is solved so the lap closes, then rejected or repaired if it fails. Up to 24 candidates per seed are scored against the statistics of their grade, and the best one wins.

- The pit lane is designed with the lap.

- The racing line is a minimum-curvature path, and the colours come from the speed profile computed on the circuit.

- The surroundings come last: run-off, barriers, service roads, grandstands, car parks, fields


r/proceduralgeneration • • 20h ago

Pixel outlines generated from a sampled curve get an extra pixel at every bend. The 3-pixel rule that removes them (61 to 43 px)

Post image
3 Upvotes

If you generate sprites by sampling a parametric curve and flooring each sample to a cell (blobs, slimes, rocks, planets), the outline comes out lumpy: thick on the curves, clean on the straight parts.

The cause: on a slope, a sample almost never crosses a cell exactly at its corner. The path steps one cell sideways, then one cell down, and both cells get set. That's an L: three pixels where two touching at a corner would do.

On the 32x32 slime in the picture (x = 15.5 - 12.6 cos t, y = 24.4 - 17.2 sin(t)^0.92, 2,001 samples over the top half), the raw path had 61 pixels, and 18 of them were L elbows. After the rule below: 43, one pixel wide all the way round.

The rule is the one pixel-art editors call "pixel-perfect": walk the path, and whenever the last three pixels a, b, c have a and c touching diagonally while b is a side neighbour of both, delete b.

def is_corner(a, b, c):  
 return abs(a[0]-c[0]) == 1 and abs(a[1]-c[1]) == 1 and ((b[0] == a[0] and b[1] == c[1]) or (b[1] == a[1] and b[0] == c[0]))

def pixel_perfect(pts):  
 out = []  
 for p in pts:  
 if out and out[-1] == p: continue  
 out.append(p)  
 if len(out) \>= 3 and is_corner(out[-3], out[-2], p): del out[-2]  
 return out  

It only ever deletes the elbow of an L, so straight runs and diagonal steps survive, and it costs O(1) per point.

One more check for generated curves: the run lengths. Along a curve they should only shrink or only grow (4, 3, 2, 2, 1, 1). If they jump around (4, 2, 1, 3, 1, 2), the curve reads as dented even at one pixel wide (bottom of the picture).

(I make pixel-art tools at Gridwright; our browser pixel editor runs this rule on every pencil stroke. Linked below.)

The browser pixel editor that applies this rule as you draw: https://gridwright.dev/tools/pixel-art-editor/?ref=reddit-proceduralgeneration


r/proceduralgeneration • • 1d ago

Spherical polyhedron with prisms

15 Upvotes

r/proceduralgeneration • • 1d ago

Asteroid GJ 445–ISO 019

Thumbnail gallery
5 Upvotes

r/proceduralgeneration • • 1d ago

A generated mountain for a base-defence game: the same seed gives the same world in every browser

Post image
0 Upvotes

Each run of my browser game Rock & Hold is a new mountain: a 60 × 60 grid of rock with caverns, passages between them and mineral deposits. A few things I had to solve, in case they help someone:

- The same seed must give the same world everywhere. JavaScript engines round Math.sin, cos and exp differently, so the game uses its own versions of them and never sorts with a random comparator.

- Nobody may start trapped. Generation checks that no open cell is closed in by deposits and bedrock alone; a deposit on such an edge turns back into rock, so the miner can always walk or dig out.

- New content must not move old worlds. Indestructible "Old walls" were added later: they are rolled last, from their own stream of the seed, so a seed's caverns and deposits stay where they were. A wall is kept only if every floor cell is still as short a dig from the start as before.

- Hidden things leave a hint. Rock near a hidden cavern's deposit shows flecks of that deposit's colour, on about one cell in four, so a few catch your eye.

The picture is a generated world open in the game's map editor. You can type any seed there and look at its world: https://rockandhold.com/?ref=reddit-proceduralgeneration

How do you keep old seeds stable when you add a new generation step?

Made with AI: I design the game and tune it by playing it; the code, art and sound are written with AI tools.


r/proceduralgeneration • • 2d ago

Free Opensource Tool to generate plants and funghi [opensource]

34 Upvotes

r/proceduralgeneration • • 3d ago

I generated a 40 km alpine massif for my ski resort game, down to what every 10 m of ground is made of

Thumbnail
gallery
101 Upvotes

Solo dev here, making a ski resort management game in Unreal 5. I just replaced my old hand-sculpted 6 km map with a full massif: 40.8 x 40.8 km, one height point every 2.5 m, from 616 m to 4,786 m.

The first picture is the whole map from above. The second is the part I'm most proud of: a ground map. Every 10 m cell (16.6 million of them) gets:

- what it's made of: granite or limestone bedrock, scree under the cliffs, moraine on the gentle slopes of the big valleys, river gravel along the streams, bare rock where it's too steep, ice up high

- how deep its soil is

- how wet it gets, from the water flowing down the terrain (about 1,300 km of streams come out of it)

- how acidic it is

The forest grows from that. Each of the 11 tree species has its own altitude range, light, water and soil needs, so larch and stone pine end up near the treeline, Scots pine on the dry sunny slopes, beech and fir in the damp shade.

The last picture is the same massif in game, in February.

The whole ground map takes 35 seconds to compute. Happy to answer questions about how any of it works.


r/proceduralgeneration • • 2d ago

glass, curves and lenses.

Thumbnail
gallery
14 Upvotes

Real-time renders from my own Vulkan ray tracer: glass rings, curves and lenses where light bends, refracts and splits into color.


r/proceduralgeneration • • 3d ago Mindblown

I created a highly-detailed procedural plant generator in threejs

435 Upvotes

r/proceduralgeneration • • 2d ago

Making realistic moons

Thumbnail
youtu.be
0 Upvotes

r/proceduralgeneration • • 3d ago

cubism girl

Post image
20 Upvotes

r/proceduralgeneration • • 2d ago

GeoTime history: day 1 - day 18

Thumbnail
gallery
3 Upvotes

On August 20, 2026 I pick up a RXT 5070 Ti to port over my CPU bound iteration on GeoTime. I satartex the project some time around June or July as a CPU bound solver

on September 8-9, 2026 I got the first out put of the system.

It immediately became obvious some was wrong as picked of metamorphic rock where not eroding away


r/proceduralgeneration • • 2d ago

Genetic algorithm recreates a photo with discs, polygons, voronoi, mosaic, strokes and glyphs

Thumbnail
gallery
0 Upvotes

Genome: one row per element (position, size, colour, alpha), drawn in row order.
Fitness: pixel MSE between the render and the target.
Mutations move or reshape an element, change colour or alpha, add or remove elements, or change the overlap order.
Crossover swaps the tails of two element lists. Elements shrink from coarse to fine over the run.

Gallery: https://carmelolg.github.io/GAPoly/
Code: https://github.com/carmelolg/GAPoly


r/proceduralgeneration • • 3d ago

Procedurally generated highway, bike sounds, animations. Unity WIP

50 Upvotes

The highway is procedurally generated and so are the bike sounds. Different bikes have different engines. Loved creating the side and rear view mirrors and you can see the bikes approaching to try and swerve around the cars. The AI for the bikes is quite simple as you can probably see, they find the best route and stick to that unless the traffic intersects their spline path they've calculated. Headphones recommended to hear the doppler effect and panning of the bikes whizzing past. Riders fall at 1:05, had to swerve around. I also have not animated the hands, they react to the speed of the car. The cars are also randomly placed on the highway and have different speeds and take decisions to change lanes or take the exit.


r/proceduralgeneration • • 2d ago

I built a lightweight, 100% Blueprint infinite world & biome generator using Perlin noise and Instanced Static Meshes.

Thumbnail
youtube.com
0 Upvotes

Hey everyone! I wanted to share a procedural chunk generation framework I've been working on under Stellar Cloud Studios.

My goal was to create a clean, modular, and deterministic world-building system without relying on heavy C++ setups or external plugins.

How it works under the hood:

  • Coordinate & Memory Management (BP_WorldManager): Converts continuous 3D player locations into discrete 2D grid coordinates (IntPoint), checks against an active TSet memory cache on a 0.25s timer, and spawns missing chunks within a configurable Render Distance.
  • Deterministic Scattering (BP_Chunk): Uses localized Random Streams seeded with world coordinates so biomes and foliage generate identically whenever a player revisits an area.
  • Noise & Normalization: Evaluates continuous 1D Perlin Noise layers for biome transitions and vegetation density thresholds, normalizing raw probability weights so custom asset pools always scale cleanly to 1.0.
  • Performance: Everything spawns via Instanced Static Mesh (ISM) batching to keep draw calls low.

It’s fully data-driven using Primary Data Assets (PDA_ChunkAssets), so you can easily swap out the placeholder meshes and ground materials for your own custom art assets.

If anyone wants to check it out or use it for prototyping/production, it is live on Fab

https://www.fab.com/listings/975c03e0-a803-4b00-9ad8-f45dfb91ae0c

Happy to answer any questions about the Blueprint math or setup!


r/proceduralgeneration • • 2d ago

5-plane parallax Hokusai woodblock scene + zero-sample ocean audio in vanilla 2D Canvas & Web Audio (0 PNGs, 0 MP3s)

0 Upvotes

Everything in this clip - both the Hokusai woodblock diorama and the ocean/garden audio underneath - is generated live in the browser with vanilla 2D Canvas and the Web Audio API (0 image files, 0 audio samples).

I recorded the 20-second debug mode I built for this scene so you can see how the 5 parallax plates stack up at 60fps without tanking CPU:

  1. Plate 0: Procedural washi paper grain, gradient sky wash, and Mount Fuji cached to an offscreen canvas.
  2. Plate 1: Halftone stipple distant swell + wooden skiff.
  3. Plate 2: Cubic Bezier wave barrel + 4 radial foam-claw clusters (the red/blue wireframe shows the Bezier control polygon and claw radii).
  4. Plates 3 & 4: Foreground wave mound, sea-spray particles, and swaying sakura branches with falling petals, followed by swapping palettes across 4 colorways.

The audio is procedural too (built because I got tired of hearing the 60-90 second crossfade seams in looped ambient MP3s). The surf, receding pebble wash, bamboo wind chimes, and shishi-odoshi water fountain all run off filtered pink/brown noise and sine frequencies.

Live link if you want to mess around with it in the browser (no login or install):

https://soundscapestudio.adveniresoftware.com/?world=kanagawa-wave&var=washi-sakura

If you're on desktop and want to trigger the breakdowns yourself inside that scene, hold Shift+D for 10 seconds for this visual plate view, or hold Shift+A for 10 seconds to solo the audio and watch the 4-stage sound build on a spectrum analyzer. Happy to answer any questions on how it's put together.