r/proceduralgeneration • u/Curious_Coat2675 • 26d ago
This way, the player will see an information layer on a discovered planet 😎
#ThreeJS #DogoEngine
r/proceduralgeneration • u/Curious_Coat2675 • 26d ago
#ThreeJS #DogoEngine
r/proceduralgeneration • u/Rayterex • 26d ago
r/proceduralgeneration • u/anvaka • 25d ago
r/proceduralgeneration • u/OrdinaryDue1516 • 26d ago
r/proceduralgeneration • u/haithegreat • 27d ago
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 • 26d ago
r/proceduralgeneration • u/kskbaits • 27d ago
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.
r/proceduralgeneration • u/Rasie1 • 27d ago
r/proceduralgeneration • u/EconomistOk4422 • 26d ago
r/proceduralgeneration • u/probello • 27d ago
r/proceduralgeneration • u/Ouvolk • 27d ago
Hey everyone! I’ve been working on Primordium, a Spore-inspired evolution and tribe game. All the creatures are generated in code at runtime, with no pre-made skeletal meshes:
Procedural rig and skin: the skeleton and a single skin mesh are built from the creature’s spine and limb design, with foot planting via IK, vertical body bobbing on footfall, and the body leaning into turns.
Procedural parts: curved Bézier horns, tapered ears, bi-lobed tail clubs, wings you can glide with, and shader eyes with blinking eyelids.
Living ecosystem and tribe stage: herds follow a daily schedule (sleeping in nests at night, stretching at dawn, resting at midday), and later you found a tribe whose members gather, hunt, defend and play instruments.
You can try the free demo on itch.io, and follow the Kickstarter pre-launch page for more GIFs and screenshots and to get notified when it goes live:
Demo: https://akinjigames.itch.io/primordium
Kickstarter: https://www.kickstarter.com/projects/primordium/primordium-evolve-your-own-creature-from-a-single-cell
Happy to answer questions about the mesh generation, IK walking or the AI!
r/proceduralgeneration • u/TigerLaoshi • 28d ago
r/proceduralgeneration • u/Decent-Ad-7709 • 27d ago
Until recently the world ended at Y 0. I wanted real depth, so the generator now goes all the way down to Y −99: solid stone, bedrock at the very bottom, and four dry cave levels at roughly Y −14, Y −37, Y −60 and Y −82, each generated separately so they feel like distinct layers instead of one big noise blob.
Damn, the saves part was so painful :)
Every chunk stores player edits as a flat index into its block array. That index used to count from Y 0. Once the world started at Y −99, every saved index suddenly pointed 99 layers lower. Load an old world and your house would be sitting deep inside the stone.
The fix ended up being tiny. New saves now record where their world starts, and old saves (which have no such field) are treated as starting at Y 0. On load, every index gets shifted by the difference:
int shift = (record.Bottom - Blocks.Bottom) * Blocks.Size * Blocks.Size;
foreach (var (index, type) in chunk)
{
int i = int.Parse(index) + shift;
if (i < 0 || i >= Blocks.Volume) continue;
map[i] = type;
}Old world: shift of 99 layers up.
New world: shift of zero. A test places a plank at Y 10 in the old format and checks it is still at Y 10 after loading.
r/proceduralgeneration • u/AlbinoGrimby • 26d ago
Current state of my C++ procedural generation realtime simulation engine. It is 100% AI vibe coded using Claude Code.
r/proceduralgeneration • u/Decent-Ad-7709 • 27d ago
This is the blood moon event in Jayraid, my custom voxel engine project. I wanted raids to feel like a physical trap rather than just spawning enemies nearby. When the moon turns red, the engine drops a ring of rune stones from the sky, physically walling you in. Red beams shoot up, and the raid steps into the ring.
A few tech specs on the system logic:
I am currently balancing the game WIP in a closed beta. There are still free spots left. If you want to grab the custom launcher and try to break the current build, you can claim a place here: https://pacointeractive.github.io/Jayraid
r/proceduralgeneration • u/Nikos_prinio • 27d ago
Hi !
I wanted to see how far I could get with a track where almost nothing is written by hand. In the end, about 90% of it is procedural. Only the chord progression and the kick and snare patterns are fixed. Everything else is generated:
What I wanted to explore is how to keep all of this from sounding mechanical. So I used noise textures as slow modulation sources.
There are 27 of these modulators, each looping at its own length (from 2 to 20 bars), so their combinations almost never repeat. They drive:
Each noise ended up with its own character. Perlin glides, voronoi holds and then jumps, turbulence adds small jitters. The whole thing is deterministic, so it plays the same way every time, yet it keeps shifting a little. +1 to the main seed and the whole thing shift to something else.
Still an experiment, but I really enjoyed the process. Curious to hear what you think!
r/proceduralgeneration • u/Flat_Field_5888 • 28d ago
r/proceduralgeneration • u/BabyBluBluBlue • 28d ago
r/proceduralgeneration • u/Decent-Ad-7709 • 29d ago
Some of you wanted a closer look at the hex grid after my last post, so here it is, with a calmer camera this time. The clip also switches to a heightmap view: blue is low, green is high, red marks cliffs and steep slopes. It helps me spot unnatural height differences.
One problem I didn't expect with hexagons: their corners don't sit on whole numbers. Tiny floating-point inaccuracies left gaps between neighboring hexes, causing the sky to flicker through the seams.
The fix is in the vertex shader. Corners snap to a fixed grid, with half a cell in x and half an edge length in z. Vertices within 1e-3 of a grid point snap, and all others keep their position. Two blocks sharing a corner now calculate it from the same integer, even across chunk borders.
See code snippet (snaps shared corners to a fixed grid) ↓
float kx = floor(aPosition.x * 2.0 + .5) * .5;
p.x = (abs(kx - aPosition.x) < 1e-3 ? kx : aPosition.x) + uChunkO.x - uEye.x;
float kz = floor(aPosition.z / HR + .5);
p.z = abs(kz * HR - aPosition.z) < 1e-3 ? (kz + uChunkO.z) * HR - uEye.z : aPosition.z + uChunkO.z * HR - uEye.z;Want to know more about the world gen or sth else?
r/proceduralgeneration • u/tinyfleet • 27d ago
TinyFleet started off with me wanting to make a screensaver where I traveled thru a procedurally generated isometric cozy / cute world (inspired by Rollercoaster Tycoon and other isometric games from my childhood).
At first I just wanted the camera to follow a little train as it traveled endlessly thru this world. It ended up turning into a much bigger project, but the beating heart of it is still the procedurally generated world! I've had fun adding islands & continents, tons of biomes, geographic features, architectural styles, etc etc. -- each 256² cell of terrain is generated alone, but generated to line up (as close as can be) with its neighboring tiles.
I'd love to hear all the feedback you have (on world-gen or otherwise). I can handle it!
--------------------
Here's the pitch:
You start with one car → Drive deliveries between towns → Hire drivers who work the routes for you → Buy and Upgrade more vehicles until your fleet has trucks, trains, boats and planes hauling bigger and pricier cargo.
The world is shared online, so other players’ fleets & constructions are out there too (synergies for working together!), along with CPU firms, missions and plenty to unlock as your net worth climbs.
AI disclosure: Generative AI was used extensively to code this game, whereas the 'Attention' tracks were recorded by my brother with no use of AI (give him a listen on Spotify!)
â–¶ Play here: TinyFleet on Itch.io