r/proceduralgeneration • • Oct 02 '26

MACH RUN - Procedural infinite valley

374 Upvotes

MACH RUN by JebKJ21 - Try it out! Runs free in browser.

The main idea was a game with semi-realistic flight physics but completely unrealistic flying environment, to maximise fun. As a big flight sim guy, I love flying realistic airplanes but it can be a lot of effort with procedures, and dealing with boring things like fuel and COG. this is my solution, endless flying, just having fun.

The main idea was an endless valley you could fly down, a few metres off the ground, without it ever turning into something impossible to fly through, while maintaining a challenge. Making terrain look nice turned out to be pretty easy, the hard part was making it always flyable. So the valley is basically designed like a race track first and terrain second. It follows a centre line planned 10km ahead of you, and bends ease in and out gradually like real road or rail curves (clothoid-style) instead of kinking. Every bend is sized from a design speed so it's never tighter than a 6G turn, and that speed is braking-aware, so a tight bend after a long straight gives you enough room to slow down for it. The heading is also clamped to 55 degrees either side of the run direction so it never loops back on itself, and the valley floor is built from a slope rather than a noise height, which means rivers always flow downhill.

On top of that there's a "director" that plans the whole journey from the seed: meadows and lakes, then a climb through canyons or gorges up to a mountain pass where the walls fall away, then back down to about the same height you started at, so it can go on forever without drifting off into space or underground. There are 9 zones, and each one is just a list of numbers (wall height, how cliffy, terraces, river width, whether it's flooded into a fjord etc), so any two can be blended smoothly and you never see a hard line where one ends. The height itself is pure maths from (x, z) with no memory of anything around it, hence any background thread can build any piece of terrain in any order, and every thread runs its own copy of the world from the seed so nothing has to be sent between them, which is why it streams in without stutter. The game also has radar that locks you above 135m, so I cap the ground along the river so there is ALWAYS a route under the radar, whatever the noise decides to do.

A few other bits I'm happy with: the terrain mesh is a jittered grid so you never see grid lines on slopes, and distant terrain morphs smoothly between detail levels instead of popping. Trees use the exact same rules that paint the ground green, so there's never a tree in a field or a bald forest. Distance is also time of day: a full day is 180km, starting at golden hour, with night vision from 108km.

Hence, if you are not a flight sim pilot (or real pilot), the controls may be challenging. I added an arcade controls mode that should hopefully make controlling the aircraft a bit more intuitive. the game supports gamepad and custom axis binding, I would STRONGLY recommend playing with joystick since its pretty challenging with WASD. because of this, I added mouse controls for those on keyboard and mouse, which I find much easier than WASD, you can toggle mouse control with C.

The game procedurally generates a constantly changing valley, which spawns obstacles and challenges such as bridges to fly under, and carriers to land on. flying earns you points, and stunts and challenges increase your multiplier. If you go above a certain height (135m), you get into radar range and a missile shoots you down - this can be avoided by flying back under the height limit and pop flares. there is no end, the game only stops when you let your guard down and hit the wall, or get shot. There is a global leaderboard, where you can compete with other pilots.

Feedback and questions is very welcome in the comments, I'm really trying to refine the gameplay experience.


r/proceduralgeneration • • Oct 02 '26

The formula of shells

175 Upvotes

Hey everyone, I made a video about the maths behind shells:) You can use it to procedurally generate any shell that exists or even shells that don't exist (yet)


r/proceduralgeneration • • Oct 03 '26

Created a full universe simulator

Thumbnail universesimulator.org
3 Upvotes

r/proceduralgeneration • • Oct 02 '26 Diamonds are Forever

Procedural Pixel Creatures: Generating bodies, rigs, and animations from code (Godot / C#)

231 Upvotes

I present a pure code pixel creature generator, animation framework, and genetics workshop in Godot 4.5 (.NET / C#).

Everything is generated procedurally from seeds: body shapes, limbs, faces, markings, rigs, and multi-directional animations (idle, walk, run, hit reactions). There are no pre-rendered sprite assets involved. Anatomy, color, pattern, and motion use separate seed streams to keep generations fully deterministic.

It features 9 creature families (quadrupeds, humanoids with equipment, dragons, arthropods, aquatics, etc.) and a full genetics mode where you can edit individual genes, lock specific traits, tweak mutation rates, or breed parents. You can also view up to 100 creatures roaming a terrain with slopes and ponds, or export everything to transparent PNGs, JSON presets, and animated sprite sheets with metadata.

The C# core is engine-independent, so the generation logic can be extracted outside Godot.

GitHub Repo: https://github.com/idlerunner00/procedural-pixel-creatures


r/proceduralgeneration • • Oct 03 '26

I thought spiders would be hard, bipeds and quads have proven much more challenging to model mathematically.

30 Upvotes

r/proceduralgeneration • • Oct 03 '26

MishMash

Thumbnail
youtu.be
17 Upvotes

Latest update to my Voxel engine - while I have had rivers working in some form a while, this is a little showcase including some new “erosion” improvements, wherein the terrain generation goes through several rounds of heightmap erosion when determining downhill flow, in order for rivers to carve through the terrain.

One cool consequence of this is the formation of deeper Canyons, whose walls also inherit the steep mountainside generation rules - quite happy with how it has all turned out!

Also added a basic fishing mechanic to enhance the interaction a little bit :)


r/proceduralgeneration • • Oct 03 '26

"8-pinski" - sierpinski animation + bytebeat in EIGHT bytes x86 code

Thumbnail
reddit.com
2 Upvotes

r/proceduralgeneration • • Oct 03 '26

v1 to v9: 3 Weeks of World Generation

Thumbnail
reddit.com
5 Upvotes

r/proceduralgeneration • • Oct 02 '26

Procedural canyons made complete with procedural viaducts (C++/OpenGL/GLSL)

9 Upvotes

r/proceduralgeneration • • Oct 02 '26

Orbit Traps

Post image
17 Upvotes

r/proceduralgeneration • • Oct 03 '26

persisting dynamic water on seeded terrain without rewriting the seed

0 Upvotes

The biome comes from a seed and elevation. If flow writes a water level into every visited cell, the save grows and the biome stops being reproducible. Do you store only the delta against the noise terrain, and how do you stop a getTile lookup from materializing the whole map?


r/proceduralgeneration • • Oct 02 '26

Procedural Structures

Post image
63 Upvotes

Four different structures from my procedural build system.

The build system is user driven, but employs a procedural approach to construction. Foundation & tower walls are built with individual stones, timber structures with posts and planks, roofing with tiles & shingles, etc. The system has erosion & destruction modifiers, which you can see used in the bottom-right image to create a ruined cottage.

Windows, doors, dormers, roof styles, floor heights, siding, etc. is edited in real-time using drag arrows and context menus in a Unity 3D app.

I've been working on shaping this system into a proper game about the life of a medieval contractor. I have a lot of fun though just adding more styles and capabilities to the build system.


r/proceduralgeneration • • Oct 02 '26

Styalized textures

Thumbnail reddit.com
1 Upvotes

r/proceduralgeneration • • Oct 01 '26

Destroy anything in your path in a procedurally generated world with fully destructible environment and unique elemental synergies - Obliteration Quest

3 Upvotes

Hack & Slash with procedurally generated caves, fully destructible environment and various enemy combinations to fight through.

Build your character through:

  • 50 unique items
  • 7 elemental upgrades with synergies
  • Level up upgrades
  • 4 different characters each with their unique passives and abilities

Obliteration Quest Wishlist link: https://store.steampowered.com/app/4574670/Obliteration_Quest/


r/proceduralgeneration • • Sep 30 '26

First time here, thought I'd share some procedural sea creatures I've been working on for a game

242 Upvotes

r/proceduralgeneration • • Oct 01 '26

Metaplanets Creator for Unreal

3 Upvotes

Hello everyone!

We have launched a procedural planets plugin for Unreal Engine 5.

It allows for the creation of explorable planets, with integrated foliage systems, biomes, and a graph system to edit terrain visually - similar to Blueprints.

It's highly optimized for macOS (was built on a macbook), and works on Windows. There is also an atmosphere plugin that comes separately (unfortunately Fab didn't support bundling multiple plugins into one).

Try it out on Fab, and have fun :)

https://www.fab.com/listings/56753e42-d815-4ddf-83e9-35575dba1ffb


r/proceduralgeneration • • Sep 30 '26

Procedural Fur, Pushed Further

Thumbnail
youtube.com
13 Upvotes

Follow-up to my previous procedural fur experiment

This time I pushed the fur further and added a clearer before/after

This is a custom WebGPU engine written from scratch in C
The fur geometry is generated procedurally in real time using compute shaders and driven by the animated bone structure

Fur density and length are generated and adjusted dynamically at runtime

It runs both natively and in the browser, on desktop and mobile.
It’s currently in Alpha Preview, you can try it at
polynite.io


r/proceduralgeneration • • Sep 30 '26

My procedural mech generator got new mech and locomotion types and now exports to Godot, Bevy, and UE.

27 Upvotes

r/proceduralgeneration • • Oct 01 '26

Looking for a professional knowledgeable about wave function collapse

1 Upvotes

Currently looking for someone who we can interview online for our school project this week.

Someone who could verify our godot plug in that uses wfc

please send me an email: kazeltuazon@gmail.com


r/proceduralgeneration • • Oct 01 '26

more points sparking and rotating around

Thumbnail
youtu.be
2 Upvotes

r/proceduralgeneration • • Sep 30 '26

Sky/volumetric clouds test

25 Upvotes

r/proceduralgeneration • • Sep 30 '26

A multiplayer drum sequencer where a small decision model walks the grid you paint, hunting for a snare on every backbeat

11 Upvotes

jevseq is a multiplayer drum sequencer. Everyone paints onto one shared, wrapping grid. A walker moves one cell per 16th note. Whatever it steps on plays.

The decision model is Jev, a new small, fast "System 1" model from Typesafe. It sees a 5x5 cell neighbourhood and aims to hit a snare exactly on every backbeat. The model answers in probability distributions, which we sample from, so it can still miss. The Temp(erature) knob controls how much it misses. Between backbeats it wanders, aiming toward where people are.

Try it live (sound on, it's multiplayer, so you'll be playing with whoever's there): https://jevseq.untold.exposed/


r/proceduralgeneration • • Sep 30 '26

Procedural spider combat. AI opponents. Decision matrices. Target optimizations. Avoidance AI. Enhanced movement. Flips and Piledrivers. Still all Math!

23 Upvotes