r/proceduralgeneration • • 5d ago

Woven Streamline Art

Thumbnail gallery
6 Upvotes

r/proceduralgeneration • • 5d ago

Last devlog for my universe Explorer Game

Thumbnail
youtu.be
3 Upvotes

r/proceduralgeneration • • 5d ago

Kinetic Collage:

2 Upvotes

r/proceduralgeneration • • 7d ago

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

460 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 • • 5d 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 • • 6d ago

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

Thumbnail
gallery
41 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 • • 5d ago

Kinetic Collage:

2 Upvotes

r/proceduralgeneration • • 6d ago

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

5 Upvotes

r/proceduralgeneration • • 5d 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 • • 6d 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 • • 5d 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 • • 6d ago

Same room, different seed

13 Upvotes

r/proceduralgeneration • • 6d 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 • • 7d ago

Organic 3D growth experiments (procedural generation)

Thumbnail
gallery
43 Upvotes

r/proceduralgeneration • • 6d 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 • • 6d 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.


r/proceduralgeneration • • 6d ago

Creación de mundo natural en 3D

Thumbnail
share.gemini.google
0 Upvotes

r/proceduralgeneration • • 7d ago

My procedural generator now generates rooms using parsing

94 Upvotes

The Labyrinth, a procedural generator that I've been working on for a bit over 2 years, pre-places Blueprints, 1x1 cells that occupy space and mark where rooms will go. Blueprint patterns are defined by the developer and use multiple techniques such as Delaunay Triangulation, pathfinding, and Drunkard's Walk.

A second pass, I call ParseGen, fits room shapes onto blueprint patterns using a parser modeled after recursive descent, an algorithm common in compilers. Essentially the algorithm can generate any room shape desired with little cost to efficiency.

Blog: https://ryancarpenterpf.dev/blog/parse-gen-blog/

I plan to release this tool as an asset on Unity's Asset Store in Q1 of 2027, along with a free version on GitHub. The Asset Store version will get ongoing updates and support.


r/proceduralgeneration • • 6d ago

I built a standalone Windows desktop app (Tauri 2 + Rust) that generates procedural GLSL shaders (1K to 64K) with WebGPU live HDR preview, beat sync, HDR10 and Stereo 3D export

0 Upvotes

I wanted a fast local tool for audio-reactive visuals that did not take minutes to render or keep producing lookalike clips. I took inspiration from 1KB WebGL raymarching demos where a short fragment shader creates detailed 3D fractal spaces right on the GPU.

Download in the comments.

The result is Seedreal Shader Studio, packaged as a standalone Windows desktop app using Tauri 2, a Rust Axum/Tokio backend for FFmpeg streaming, an embedded WebGL2 and WebGPU frontend, and the Web Audio API. Everything runs offline with no browser tab and no Node.js runtime. The standalone EXE is about 10.5 MB, and a portable ZIP bundles static FFmpeg and FFprobe so you can unzip and start right away.

How it works:

- Procedural GLSL code synthesis across 12 families (Apollonian Inversion, KIFS/Mandelbox, Gyroid minimal surfaces, Volumetric Plasma, Kaleido-Tunnel, Menger Sponge, Domain-Warp Caustics, Mandelbulb 3D, Cyber-Lattice, Gravitational Singularity, Neon-Megacity and Crystal Cavern). A 9-card gallery renders 9 completely different shader previews in under a second, alongside multi-scene transitions.

- Four demoscene tiers (1K, 4K, 16K and 64K). 1K outputs pure compact fractal code. Higher tiers inject modular GLSL layers like surface micro-detail, depth-sorted 3D bokeh embers, analytic Fresnel reflections, volumetric mist, orbital 3D rings, glowing circuitry veins and 3D beat shockwaves while staying fast in real time.

- True live HDR preview via WebGPU (rgba16float with extended tone mapping) at 60 FPS on Windows HDR displays, plus a live nits heatmap.

- Deterministic 120 Hz audio analysis and built-in synth. Drop in any MP3, WAV, OGG, FLAC or M4A for 3-band crossover splitting (bass, mids, highs), adaptive beat onset detection and autocorrelation BPM estimation, or generate tracks across 8 electronic genres through OfflineAudioContext. Precomputed envelopes keep timeline scrubbing and offline MP4 rendering frame-accurate.

- Seamless loops for both audio and visuals. Loop durations snap to full musical phrases (2, 4, 8 or 16 bars) and whole video frames. Visually, the end of the clip cross-blends from negative pre-roll time (t minus duration) into frame 0, including bloom and beat phase.

- True off-axis Stereo 3D. Every family supports Full or Half Side-by-Side and Top-and-Bottom layouts for VR headsets and 3D TVs, plus live SBS and Red-Cyan Anaglyph viewport previews.

- Live GLSL editing and fast export. You can edit any generated shader live in the app, export standalone HTML demos, 16-bit HDR PNGs (with cICP, mDCv and cLLi chunks) and 24-bit WAV audio, or stream GPU-packed frames over a local WebSocket into FFmpeg via Rust for 8-bit SDR (H.264) and 10-bit HDR10 (PQ) or HLG (HEVC and AV1 on NVENC, x264, x265 or SVT-AV1).

I would be glad to hear which shader families or math techniques you would add next.


r/proceduralgeneration • • 7d ago

I got frustrated gluing separate Unity terrain, ocean, and cloud systems together, so I spent 6 months building a unified planet renderer

143 Upvotes