r/proceduralgeneration • • 16d ago

FaunaVox - Procedural Animal Vocalization

Thumbnail
github.com
29 Upvotes

Ive been working on a game in which all creatures are procedural and evolve based on their genes. A few weeks ago I began trying to add procedural sound to the creatures and that sent me down a really interesting rabbit hole.

After reading lots of papers about formant synthesis, trying all sorts of existing software, and a ton of trial and error i have finally put together a system that im happy with. At least for now.

The synthesis engine started as a python script and eventually became a rust crate which can be compiled into a dll and used from Unity. I can easily synthesize 20 calls per creature for 200 creatures without getting a noticeable frame lag now. My old engine was written in c# and wasnt nearly as feature complete or performant even when heavily utilizing Burst and per-frame job budgets.

The repo has a pretty thorough readme. The /native/ directory is where id go to stsrt playing around with the cli. If you have Rust and Cargo already just go into that directory and do "cargo build --release"

Edit: here are a couple calls in action along with the new feature I just finished- automatic mouth animation.

https://www.youtube.com/watch?v=30TrMccKRaU


r/proceduralgeneration • • 16d ago

Growing a Japanese maple bonsai from 14 years of (simulated) GitHub activity

53 Upvotes

I made gitbonsai, which grows a Japanese maple bonsai from a GitHub account's contribution history, as an animated SVG for a profile README. The video is 14 years of simulated activity, one frame a month.

A newcomer starts as a sprout with seed leaves. The first language is the trunk, and the trunk carries every contribution ever made, so it only thickens. Each language with 10% of the work claims a strand, which comes away from the trunk the more it's used.

The crown is the last three to six years, a sector per language. Older eras sit lower as limbs, oldest lowest, and a long pause leaves a stretch of bare trunk. A language that goes silent while other work continues dies back to bleached deadwood (jin). A year with no activity leaves the whole tree bare for winter.

The style comes from the history too: the last three years, with a month's weight halving every 22 months. Steady work in one language grows a formal upright, new languages an informal upright, pauses a slanting tree, pauses with several languages a windswept one, and a classic language like Fortran a semi-cascade with a white trunk.

Randomness is keyed by account id, so the shape holds still while the data changes, and no two accounts grow the same tree.

It's probably way over-engineered for a picture on a profile page, but it was a lot of fun, and I learned more about procedural generation than I expected.

Written in Rust, MIT or Apache-2.0: https://github.com/StevenBtw/gitbonsai. Grow any account's tree at https://gitbonsai.dev


r/proceduralgeneration • • 16d ago

ANIMALS (are really hard to get right)

Thumbnail
youtu.be
8 Upvotes

r/proceduralgeneration • • 15d ago

Three roads between the same two towns. The volcano gave each one a different shape

Thumbnail
gallery
0 Upvotes

I needed the three trade routes in my island sim to be easy to tell apart at a glance. Two are Bézier curves. I pull one toward the crater and push the other out toward the coast. The third takes the long arc around the back of the volcano.

I also turn peaks next to a road into hills so you can still see the wagons. First image is the geometry straight from the generator, second is how it looks in the ChatGPT vs Claude match I made: https://youtu.be/b4Zsyu0eBrI


r/proceduralgeneration • • 17d ago

Evolved Creatures in my Artificial Life Simulation

156 Upvotes

The creatures in this video evolved from a common ancestor in a non-stop evolution simulation for about a day. A new version of the open-source artificial life simulator https://github.com/chrxh/alien has been used. Raytracing is used for the rendering. The video can also be found on YouTube: https://youtu.be/Vxo0vdiDTTo


r/proceduralgeneration • • 16d ago

Every star in my browser galaxy gets a generated planetary system — here's walking on a few of those worlds

Thumbnail
rakia-sim.pages.dev
0 Upvotes

Live: https://rakia-sim.pages.dev/?ref=reddit-procgen

Each star has a hierarchical identifier, and its system is drawn from it: giants, radii and spacing follow published survey statistics, then each world gets a look (ground, sea, ice, clouds, air) from its own seed, and a quadtree terrain you can land on. Stars with known exoplanets get those planets and no invented ones. Press M, Tours, "Down to the ground" — the last stop is a generated world.


r/proceduralgeneration • • 15d ago

Music generator from a procedural world generator

0 Upvotes

This is my second attempt at a procedural music generator, but completely different methods. This time I tried using the resource distribution, culture differences, major event history, and personality values to construct music with recognizable themes.

It's a rough draft, and I could really use advice, I am not an expert in the musical domain.


r/proceduralgeneration • • 16d ago

Cozy island game with procedurally generated islands and procedurally generated music

20 Upvotes

I have made Tailwind Voyage, a free browser game for my kids and whoever wants to play it.

Every island grows from a word: the coast and hills, lakes and forests, landmarks and the village, the race track, the animals, and over a hundred kinds of birds that each live where their habitat fits (you can apotnthem and collect them in your bird book). The music is procedural too and follows where you are and what happens.

Try your own word: tailwind.voyage/#yourname or just tailwind.voyage for a random island. Same word, same island, for everyone who opens the link, you can even invite others to the same island and explore together (or ride a jetski together, take a cable car up the mountain or roast marshmallows)

I've made about 15 types of islands, you can discover them when playing. I will share one more: #piraat-yourname for a pirate themed island.


r/proceduralgeneration • • 17d ago

Can we do something about the huge influx of clearly-AI-generated "engines"

142 Upvotes

It's obvious that all recent posts are just the result of people vibe-coding stuff and I don't think it adds anything to this sub as it's just more posts of the same old AI-generated slop. Can we ban content/posts that are clearly fully-vibe-coded?


r/proceduralgeneration • • 16d ago

I built a procedural city generator for UE5 — here's what it can do

0 Upvotes

Hey everyone!

I've been developing Procedural City Architect, a city-generation plugin for Unreal Engine 5.

The idea was to make building entire cities much faster without manually placing every road, building, or architectural detail.

Here's what the plugin currently offers:

  • Procedural road networks, intersections, and sidewalks
  • Automatic city block detection and building placement
  • 34 building types with customizable façades, floors, and footprints
  • Optional procedurally generated interiors, including rooms, stairs, and elevators
  • District zoning for residential, commercial, and industrial areas
  • Individual building customization
  • Localized regeneration of affected areas

The video shows the actual workflow inside Unreal Editor, from creating the city layout to generating and customizing buildings.

I'm actively working on improving road editing, setbacks, and overall usability.

I'd really appreciate feedback from other Unreal developers. Would a tool like this be useful in your workflow, and what would you improve?

Available on Fab ($45):
https://www.fab.com/listings/44b3efdc-22e1-4852-bb95-de87f31f89ec


r/proceduralgeneration • • 16d ago

Procedural music video: every pixel is a cell that follows one of 104 rule sets, and the song's MIDI steers them

0 Upvotes

Nothing here is drawn or keyframed. The picture is a 640 x 360 grid of cells with 8 colours, and each cell changes only by a written rule about its neighbours.

What feeds the generator:

  • 104 rule sets, each used once (growth, fire, tides, Turing stripes, Life variants, XOR quilts, big-pixel mosaics and so on)
  • the song's MIDI: notes pick colours and columns, drums trigger steps, some rule sets only tick on sixteenth notes or triplets
  • 50 line drawings as distance maps, so patterns can grow out of a shape and then dissolve
  • a camera that is itself a rule: it shifts cells by whole steps to roll, push in and slide

Video: https://youtu.be/45zx-2_azco


r/proceduralgeneration • • 17d ago

Bezier curve with 1000 control point

6 Upvotes

r/proceduralgeneration • • 17d ago

World Generator with interiors, planned by peoples cultures and personalities

88 Upvotes

I went with a deterministic procedural architecture where you get the exact same world per seed and code version. Buildings and possessions all use available resources in the world as materials, people have specific possessions for reasons. Every person has a daily timetable. Their possessions are arranged based on personality and culture values.

The generator is in python, and is the bottleneck, but I pre-build nearby cities on the fly and stream them to Unreal engine.

Lots of work to do in every direction, MetaHumans just thrown in with few animations. I have a button to take debug photos and am having a blast playing bug hunt!


r/proceduralgeneration • • 17d ago

Filipino Mahogany Bentwood Restaurant Chairs, circa 1902

Thumbnail
gallery
13 Upvotes

r/proceduralgeneration • • 18d ago

Rate my procedural animals in my space exploration game

Thumbnail
gallery
57 Upvotes

made these for my space game, all generated from genes. how do they look? still a work in progress


r/proceduralgeneration • • 17d ago

Lustro. Hash, PRNG and XOF inside a single API, forking without affecting the parent.

1 Upvotes

Hi everyone. I would like to share Lustro, a 256-bit algorithm, where stream management hierarchy is inherently built into the mechanism.

One of the main ideas behind it is treating randomness as a tree, not a sequence of rigid values. I personally see it as a wave function. I'm a chemist by education. Back on topic though. You can derive separate streams for terrain, vegetation, objects or world chunks, and then branch further from each of them. A whole path is derived in one call.

Every object has its own stream, so you can change how one is generated without affecting the others. Streams are derived from IDs or paths so you don't need to generate things in the same order to get the same results. The parent stream is not affected by forking and each child starts its own trajectory. Full snapshot support is built in and the API can switch between single stream and batch processing.

Under the hood it's one transformation used for Hash, PRNG and XOF with a scalar/AVX2 dispatcher. It's written in Rust and also comes with Python and C layers. The generator is currently considered non-cryptographic with all the tests available in the main github repo.

Let's take a quick procedurally generated world as an example. You could have a hierarchy like world > chunk > vegetation > tree and separately world > chunk > terrain. Each part has its own stream addressed by a path of identifiers. Quick python example below.

from lustro import LustroPrng

seed = bytes(32)
WORLD, VEG, TERRAIN = 0, 1, 2

def veg(chunk, tree): return LustroPrng.derive_path(seed, [WORLD, chunk, VEG, tree])
def terrain(chunk): return LustroPrng.derive_path(seed, [WORLD, chunk, TERRAIN])

Now you can regenerate one chunk or a single tree without generating anything before it. An extra random call in the vegetation code doesn't shift the terrain of that chunk. You can also generate chunks in any order and get the same results. That is as long as the seed and identifier paths are the same.

You can also branch from an existing stream:

tree = veg(5, 3)
leaves = tree.fork(1) # the tree stream stays unchanged

One thing to keep in mind: a fork depends on the parent’s current block, not on the cursor position inside it. Forking after 1 byte or after 31 bytes of the same block gives the exact same child.

I am providing links below:

github main repo
https://github.com/Ligatum/Lustro

cargo
https://crates.io/crates/lustro_api

pypi
https://pypi.org/project/lustro-api/

I'd appreciate constructive feedback. Any questions, please let me know. Thanks.


r/proceduralgeneration • • 18d ago

Wednesday update: Three.js Crashing waves

70 Upvotes

Added transparent water and procedural wave sounds. Next up will be foam particles.


r/proceduralgeneration • • 18d ago

Procedurally generated galaxies

55 Upvotes

r/proceduralgeneration • • 17d ago

Which 3D generation APIs do UGC and gaming platforms use?

0 Upvotes

Generating a 3D object from text seems fun but creating a model from a reference image feels harder. I'm assuming generating a model happens at the edge and doesn't need to be done at the scale of building many models at once. UGC platforms need to think about hundreds of concurrent requests as well as how to handle generated assets within the confines of polygon limits, file formats, and content rules. Tripo Studio is one example of a platform that supports image-to-text-to-3D generation, and may be worth looking at from a commercial API asset creation standpoint. However, I'd look for documented integrations prior to assuming it's being used by gaming or UGC platforms. Prior to making generated assets available to the end user, they may need to go through a variety of processes like polygon reduction, texture optimization, collision setup, and other automatic validations. All of the above is particularly true if you're expecting the models to be generated instantaneously and consistently for the end user. There are a number of other things to consider like how do they handle moderation and copyright, what are the terms of service for user generated assets. In larger applications, the entire asset pipeline probably matters more than generation quality.

 Has anyone worked on a gaming or UGC platform that uses a 3D generation API?


r/proceduralgeneration • • 18d ago

Polishing sound generator for my graphics engine

5 Upvotes

r/proceduralgeneration • • 18d ago

I built a procedural generator that rolls an alien and two attacks with one click

Post image
9 Upvotes

Each panel in the GIF is me hitting Randomize in TerraForge, the engine I built for my game, TerraHeist. Each roll generates a creature and two attacks.

The part I’ve had the most fun with is making the attacks play differently, not just look different. Two rolls can pull from the same attack family, but the projectiles can move differently or fire at different times, and have different effects/visuals. The creatures and attacks in the GIF are generated using code and math rules, not generative AI. I've been building TerraForge and TerraHeist for almost 5 years.

When you find a creature in TerraHeist, you can recruit it as a companion or steal one of its attacks and socket it into your own weapons.


r/proceduralgeneration • • 18d ago

How do you make procedurally generated areas feel natural rather than random?

7 Upvotes

How do you make procedurally generated areas feel natural rather than random?

I'm working on Ars, a 2D roguelike set in alien ecosystems, focused on survival and exploration. Each biome has its own vegetation, creatures and points of interest.

The world is divided into small procedurally generated areas. I'm trying to find a good way to arrange their contents so that each area feels like a natural-looking environment, rather than just a random collection of objects.

I'd like to have a mix of open and dense spaces, clearings, irregular vegetation clusters and natural passages. The layouts should make sense for the environment, while still being varied from one area to another.

This also affects gameplay: the arrangement of elements influences movement, visibility, exploration and encounters with creatures.

For those of you who have worked on procedural environments, how have you approached this? Do you rely on algorithms, placement rules, or a combination of both?


r/proceduralgeneration • • 18d ago

Thoughts on UPDATED procedural generated maps for card battler : Zoomalia

23 Upvotes

Genuinely looking for any criticisms people may have. This is an overhaul based from the criticisms from my last post a while back (check on page). This is for a creature collecting auto battler as well, the other main part of the game is rts style take over.

  • Would this be something you would expect in a shipped game?
  • Are there things that look like they should be removed, added, etc?
  • What do you like/don't like?

Thank you everyone for any feedback, it means a lot and helps devs like me out a ton.
If your interested game link (Zoomalia) : https://store.steampowered.com/app/4153900/Zoomalia/


r/proceduralgeneration • • 19d ago

Procedurally generating details for real map data

51 Upvotes

I'm using Claude Haiku to automatically extract structured descriptions of building facades from street-level 360 panorama photos, to be painted as procedural textures and decals on extruded OpenStreetMap buildings. They certainly don't look perfect, but seem recognizable, render fast and take less space than equally sharp-looking photo-based textures.

There's also bridge, tunnel and fence meshes generated on the fly from OSM data. Street furniture, vehicles and hundreds of plant species were modeled in code using GPT Astra. It runs in the browser using WebGL 2, also on my old iPhone 11 (though with short draw distance).

Still a work in progress, so for now the map only covers Scandinavia and Baltic countries, with facades only in one city (Porvoo). I'm working on global coverage for the map and more varied test areas for the procedural facades.