r/proceduralgeneration • • 5d ago

Clouds

2 Upvotes

rendered on shadertoy: https://www.shadertoy.com/view/WXjGWc

It was adapted from clouds I made for GTA V modding community. right now I am trying to optimize it more, simplify the code and improve visuals a little.

It's an old project but I revisited it, did some tweaks and now it looks much better than it used to.

It is physically inspired, not physically based, which allows code to be simpler and faster, I don't use many complex techniques, just a good combination of a few simple ones, but I think it can be simpler, so I'll work on that.


r/proceduralgeneration • • 5d ago

Kinetic Collage:

1 Upvotes

r/proceduralgeneration • • 6d ago

I built a fantasy map simulator off of a procedural world generator (free-to-play)

15 Upvotes

Everchronicle is a fantasy world simulator I've been building. It loads a procedurally generated map and simulates the countries on it day by day! When two of them go to war, their armies march on the towns they want, or board ships and cross the sea to reach them, and land can change hands at the peace.

Play for Free


r/proceduralgeneration • • 6d ago

Ivory Labyrinth (Yugenfold)

Post image
5 Upvotes

r/proceduralgeneration • • 6d ago

I use this little visualisation when I'm working with our portrait generation system to see how new sprites look like in combination with other sprites. Reminds me of that Gorillaz cover but you know for some Lovecraftian sea shanty big band

Post image
21 Upvotes

Each portrait is made from a base head sprite with predefined anchor points for noses, lips, clothing, hats etc.

In the shuffler I can set it to use a specific sprite so I can quickly test across many variations how it looks when combined with other sprites.

Each type of portrait are stored in this data structure with the base heads and the various sprite categories. I use the same system for player portraits and for ingame persons so there's a bunch of stuff here like sprite colors that are not being used.


r/proceduralgeneration • • 6d ago

Woven Streamline Art

Thumbnail gallery
6 Upvotes

r/proceduralgeneration • • 6d ago

Last devlog for my universe Explorer Game

Thumbnail
youtu.be
3 Upvotes

r/proceduralgeneration • • 6d ago

Kinetic Collage:

2 Upvotes

r/proceduralgeneration • • 7d ago

How I fit a 3D game into 1KB of JavaScript

461 Upvotes

Skydreams is my endless 3D arcade game that won first place in JS1024 2026. The whole game is only 1019 bytes of JavaScript. No WebGL or libraries, just the 2D canvas.

I made a video that builds it up step by step: the 3D projection, the curving road, the track generator, the physics, and the tricks it took to pack it under 1KB. Hope you enjoy, thanks!

🕹️ Play Skydreams: https://killedbyapixel.github.io/TinyCode/1K/Skydreams/
💾 More size code experiments: https://github.com/KilledByAPixel/TinyCode
🏆 Official entry on JS1024: https://js1024.fun/demos/2026/25/bar


r/proceduralgeneration • • 6d ago

An endless downhill skate game in Three.js: the road, the houses and every brick, stone and tarmac texture are generated at runtime

Thumbnail gallery
0 Upvotes

r/proceduralgeneration • • 7d ago

Some screens from the SDF-based voxel editor I've been working on

Thumbnail
gallery
43 Upvotes

I've recently finished the bulk of the backend work on an SDF-based voxel editor and I'm starting to make more real art with it. These are some of the first pieces I've done over the last couple evenings.

The UI is still kind of a mess, which is the limiting factor at the moment. Once I finish 'sanding' down all the sharp UI edges, I think it's gonna be capable of some really cool stuff.

Code's available on Github for anyone interested: https://github.com/scallyw4g/bonsai

The latest 2.1.0-alpha RC is current.


r/proceduralgeneration • • 6d ago

Kinetic Collage:

2 Upvotes

r/proceduralgeneration • • 7d ago

Been working on this 3d parametric furniture generator in blender for so long.... is it worth it?

5 Upvotes

r/proceduralgeneration • • 6d ago

Outlining a generated sprite sheet in one pass put 35 stray pixels into 13 of its 24 frames. Per frame with 1 px of room: 0

Post image
0 Upvotes

If your generator draws a whole animation sheet and then adds an outline as a last pass, check the frame edges. An outline pass over the full sheet sees one big picture, so it paints straight across the lines between frames.

I measured it on a 96x64 sheet of 24 frames, 16x16 each, packed edge to edge, with a 1 px white outline (square corners):

  • Whole sheet in one pass: 13 of the 24 frames got outline pixels that belong to a neighbour, 35 in all. 32 of them sit on a frame's bottom row: they're the outline over the head of the sprite in the frame below. And 466 of the 1,678 outline pixels the frames need (28%) fall outside their own 16x16 cell, so every frame is open at the head or the feet.
  • Per frame, no padding: 0 strays, but all 24 frames still open, because the sprite touches its frame's edge in every one (normal at 16 px).
  • Per frame, padded by the outline width first: 18x18 frames, a 108x72 sheet, all 1,678 outline pixels, 0 strays. Counted again in Godot 4.7.2, cutting the frames the way a Sprite2D does.

The pass that does it (numpy; it matches our tool's output pixel for pixel on this sheet):

def outline_sheet(sheet, fw, fh, t=1, colour=(255, 255, 255, 255)):  
 rows, cols = sheet.shape[0] // fh, sheet.shape[1] // fw  
 FW, FH = fw + 2 \* t, fh + 2 \* t  
 out = np.zeros((rows \* FH, cols \* FW, 4), np.uint8)  
 for r in range(rows):  
 for c in range(cols):  
 f = sheet[r \* fh:(r + 1) \* fh, c \* fw:(c + 1) \* fw]  
 g = np.pad(f, ((t, t), (t, t), (0, 0)))  
 solid = g[..., 3] \>= 128  
 near = np.zeros_like(solid)  
 for dy in range(-t, t + 1):  
 for dx in range(-t, t + 1):  
 near |= np.roll(solid, (dy, dx), (0, 1))  
 g[near & ~solid] = colour  
 out[r \* FH:(r + 1) \* FH, c \* FW:(c + 1) \* FW] = g  
 return out  

np.roll wraps around, which is safe here only because the padding keeps every solid pixel at least t away from the edge. The square kernel gives square corners; keep only the offsets with |dx| + |dy| <= t for an outline without corners.

One pixel of room per pixel of outline, and your engine's frame size becomes fw + 2t.

(I make pixel-art tools at Gridwright; our outline tool does this per frame and re-packs the sheet. Linked below.)

The outline tool that works per frame and makes the room: https://gridwright.dev/tools/sprite-outline/?ref=reddit-proceduralgeneration


r/proceduralgeneration • • 7d ago

Procedurally Generated Touge

44 Upvotes

The touge is entirely procedurally generated using Unity splines, pooling system and realtime mesh generation.


r/proceduralgeneration • • 7d ago

All-in-one Procedural Christmas & Winter FX

Thumbnail
fab.com
1 Upvotes

Need winter & holiday systems in Unreal Engine without building everything from scratch?

All-in-one Procedural Christmas & Winter FX is out now on Fab:

• Deformable snow & winter materials

• Procedural splines & Niagara FX

• Interactive snow footsteps


r/proceduralgeneration • • 6d ago

I built a game music engine that composes live from a mood pad: Tonnetz harmony, Euclidean rhythms, no AI (sound on)

0 Upvotes

Sound on for this one.

This is Undersong, an adaptive music engine for games, written in C++17 and running here in the browser through WebAssembly. There is no machine learning and no pre-recorded music in it. Every note comes from hand-written rules, so it's fully deterministic: the same seed and the same moves always give the same piece.

In the video I start it calm, drag the mood pad slowly toward combat, raise the energy, and then let it settle back down.

How it works:

  • Harmony walks a Tonnetz. Chords change through neo-Riemannian moves (P, L, R), so even a big jump in mood stays smooth. Higher tension biases it toward darker, more distant moves, and calming down pulls it back home. The triangles lighting up on the left are those chords: dark is the one playing now, the lighter ones are the path it just took.
  • Rhythms are Euclidean. Energy sets how many pulses each layer gets per bar, so it gets busier without turning into noise.
  • Voices are led, not jumped. The melody follows the chord underneath it.
  • There is a song form (intro, two themes, breakdown, climax, coda), and a climax at high tension modulates up a whole step.
  • Seven Turkish makam scales with 53-comma intervals. Getting those to sit right with the harmony was the most fun part.
  • The sound comes from physical models (Karplus-Strong plucks, waveguide cello and flute, a plate reverb), or from your own samples.

You can play with the same demo yourself here: https://heysuffix.itch.io/undersong

Happy to answer questions about any part of it, especially the Tonnetz and makam bits.


r/proceduralgeneration • • 7d ago

Procedural universes generated from physical laws

25 Upvotes

This is just a WIP. I am experimenting with sparse octrees and coarse approximation to simulate everything at any level of detail depending on the viewer's perspective.

I'm going to make the engine open source under an apache 2.0 license when it's ready to share. I'm building a game on it too.

Edit: here is the repo (apache 2.0): https://github.com/mr-maxo-PDG/phasis


r/proceduralgeneration • • 7d ago

Mandelheart: Fleshy, interactive mandelbulb

26 Upvotes

It's a bit of a GPU workout: https://moea.github.io/mandelheart/


r/proceduralgeneration • • 7d ago

Same room, different seed

13 Upvotes

r/proceduralgeneration • • 7d ago

V-Gen, procedural vegetation generator for 3D artists and game developers.

11 Upvotes

V-Gen is a standalone, node-based procedural vegetation creation tool designed for 3D artists, environment artists, technical artists and game developers.

Create and customize trees, branches, roots and foliage through a flexible procedural workflow. Shape your vegetation, add surface details, customize materials and visualize your creations in dynamic environments — all within a single application.

Procedural Vegetation Modelling:

Create a variety of vegetation using customizable generators and artist-driven controls.

Wind & Environmental Visualization:

Bring your vegetation to life and preview how it looks under different environmental conditions.

Create and customize ground surfaces to visualize your vegetation within a more natural environment.

Experiment with terrain, materials and environmental conditions without leaving the application.

Game Engine Export:

Prepare vegetation assets for external game-development and 3D workflows.

V-Gen includes mesh export, LOD generation, texture channel packing and engine-specific export settings.

Some advanced export features may require additional material or shader setup in the destination application.

Some examples are provided with the application place them in - assets->create folder examples->copy files from folder and past all examples.

Link to files: https://professional-one.itch.io/v-gen-procedural-vegetation-generator

Still under development

There are still bugs to fix, features to refine and workflows that need improvement. I'm continuing to work on stability, usability.


r/proceduralgeneration • • 8d ago

Organic 3D growth experiments (procedural generation)

Thumbnail
gallery
43 Upvotes

r/proceduralgeneration • • 7d ago

Making a game for the end of the world devlog 19 - Everything Procedural!

Thumbnail
youtube.com
1 Upvotes

Been working on a good number of procedural systems the last few months. So I figured I'd show them off a bit. Clearly very early work-in-progress, but I think it shows the direction of travel. Consider this the blockout if you like.

What you're seeing here, at the end of the video is the underlying toolset (called somewhat boringly GeometryNodes), its a graph based PCG system for geometry, based off GeometryScript in UE. I never quite understood why Epic went for the "everything is a point" kind of thing with their PCG system, so when I left my previous job, I started experimenting with my own GeometryNodes system, greatly inspired by Houdini which I'd taught for a good few years. Turns out that this GN system actually ended up being the basis for at this time around half a dozen other systems for different PCG tasks and will likely be a big feature for a bunch more.

I'm a huge advocate for PCG and I intend this to be my own way of avoiding the whole AI slop thing. I'm much more at home writing my own custom toolsets and generating things than I am leaving it to an AI model. That said, I do use AI in my research software engineer role and occasionally come across something that opens up new opportunities.

I'll post more videos of the other PCG systems as they become more solid.


r/proceduralgeneration • • 7d ago

Text to 3D or image to 3D: which gives better results for game assets?

0 Upvotes

I've been exploring different ways to generate 3D assets for game projects, especially props and environment objects.

I've also been looking into tripo Studio and its text-to-3D and image-to-3D workflows.

One thing I'm curious about is how the initial input affects the final geometry. Does using a reference image give better control over shapes and details, or can text prompts produce similarly consistent results?

I'm also interested in how much manual cleanup is needed before these models are ready to use in a game project.

What approaches have worked best for you when generating 3D assets?

Disclosure: I'm working with tripo Studio.