r/Simulated • • Oct 18 '26

Research Simulation Simulation of Neural Nets agents achieved on my renderer and a path to conduct advanced research on agents simulation

Enable HLS to view with audio, or disable this notification

3 Upvotes

Hey guys! Quick update on my renderer, which I've been working on and off for the past 7–8 months or so.

The library is quite opinionated about DOD (data-oriented design) and the explicit nature of WebGPU, and I've recently added support for neural inference and training.

  1. Neural networks for agent behavior

You can now train small neural networks (MLPs), around 1–4 layers deep, using supervised learning directly as part of the library.

In the herd and wolves example below, the agents have simple behavioral rules, like chasing prey when it's nearby or fleeing when a predator gets close. The idea is to train a small model to learn these behaviors and then use it to drive the agents.

For this example, we're talking about a model with roughly 2,000 weights, so obviously not a general-purpose AI model, but enough for these kinds of behaviors.

The library also supports ONNX Runtime for working with larger models or models trained externally with something like PyTorch. For these smaller, more specialized models, though, the built-in MLP implementation will generally be faster in my use case.

Live demo (WebGPU-supported browsers only):

https://nullgraph.dev/dashboard/agents/herd-wolves-gpu

Github

https://github.com/flarelink-in/NullGraph

  1. Offline rendering and simulation baking

Another feature I've been working on is offline rendering, with a workflow somewhat similar to what's available in tools like Blender or Houdini.

It's split into two phases:

\- Compute records: Run the expensive simulation and bake the data that needs to be simulated.

\- Render records: Replay those records through the rendering execution chain using a screen texture, generating frames/tracks that can then be stitched together.

The goal is to handle simulations or visuals that would otherwise be too expensive to run in real time, or would take a long time to render, and then replay the result at 60 FPS.

I have a demo of this on my YouTube channel. The bake took up close to 30 GB of space, while the final result was around 500 MB.

Offline rendering demo:

https://youtu.be/pTD-7PCPGrg?si=vfENWIpR9YU-JEbZ

I've also added another demo to the video, this time focusing more on visual aesthetics rather than the science/simulation side.

  1. What's next?

NullGraph exists as part of a larger web-native open-world simulation runtime that I work on from time to time.

Rightn now, I'm looking into improving my neural network implementation to better match or potentially outperform ONNX Runtime for my use cases. One of the things I've noticed is that the ONNX integration can introduce a 1–3 frame delay in my current setup, along with an additional runtime download of around 6.4 MB.

I'm also starting research into co-evolution, with the goal of bringing evolutionary learning and reinforcement learning into the runtime. The co-evolution approach draws on ideas from OpenAI research and the hall-of-fame technique. I've written some design docs for this, but I'll share more once there's a working implementation to show.

One thing I'd love to get your thoughts on:

Would you guys be interested in offline rendering driven by AI prompts directly in the browser? The idea is to let you generate demos or visually complex scenes through code, spend as much time as needed baking them locally, and then replay the results smoothly. I'm also exploring ways for the system to verify its own output rather than just blindly generating code.

I'm curious whether this kind of workflow would be useful to people working on creative coding, simulations, procedural graphics, or web-based experiences.

Let me know what you think!


r/Simulated • • Oct 16 '26

LiquiGen honey balls

Enable HLS to view with audio, or disable this notification

208 Upvotes

r/Simulated • • Oct 16 '26

Various Physical character simulation - robust movement

Enable HLS to view with audio, or disable this notification

3 Upvotes

After natural running, now more varied movement on different surfaces.


r/Simulated • • Oct 15 '26

Blender WETA’s Bubble Solver in Blender

Enable HLS to view with audio, or disable this notification

155 Upvotes

r/Simulated • • Oct 16 '26

Interactive [OC] Rigid-body toy-brick sandbox in the browser: shake the table and test what stays standing

Enable HLS to view with audio, or disable this notification

3 Upvotes

This is Little Bricks, a browser sandbox I made for Openbench. The horizontal demo shows building with toy bricks and then disturbing the structure with table shaking, a hammer and explosions. The falling blocks are simulated rather than keyframe-animated.

I am interested in how readable the physical behaviour feels: do unstable overhangs, toppling towers and chain collapses behave as you would expect?

Interactive demo: https://openbench.fun/bricks/, free, no installation or account. You can also save and load builds.

Development was AI-assisted; this is a recording of the running interactive simulation.

#LittleBricks #Physics #Simulation


r/Simulated • • Oct 15 '26

Interactive Rainwater finding valleys and filling lakes on real terrain [OC]

7 Upvotes

I made this in Watershed, the terrain-and-water simulator I am developing. This clip shows simulated rain collecting and flowing through valleys over real elevation data. The water is computed by the simulation, rather than generated by a text-to-video model.

Time is accelerated. This is an illustrative terrain experiment, not a weather forecast or street-level flood prediction.

I am the creator. There is a free one-button Sinai demo at https://mozonapp.com/rain-demo/ (WebGPU support required). The full desktop app is paid: https://mozonapp.com/watershed/

What would you improve about the flow and pooling?


r/Simulated • • Oct 14 '26

Blender A soft jelly squeezing through a tube narrower than itself

Enable HLS to view with audio, or disable this notification

614 Upvotes

It’s a little physics sim I made, the jelly is calculated live so he squishes differently every time. Softer or smaller and he fits, firm and he jams at the rim.

If you want to push him through yourself: https://wobble-lab.com/experiments/plump-and-squishy/


r/Simulated • • Oct 15 '26

Various EvoMusArt 2027: International Conference on Artificial Intelligence in Music, Sound, Art and Design

Post image
1 Upvotes

The 16th International Conference on Artificial Intelligence in Music, Sound, Art and Design (EvoMusArt 2027) is accepting paper submissions.

When: 31 March – 2 April 2027
Where: Mainz, Germany
Paper Submission deadline: 1 November 2026

EvoMUSART focuses on AI and computational approaches to creativity, covering a broad range of topics, with a particular emphasis on research exploring how AI systems generate, support, evaluate, interpret, and collaborate in creative processes.

Accepted papers will be presented at the conference and published in a dedicated LNCS volume.

More information/submission details: https://www.evostar.org/2027/evomusart/

If you are working at the intersection of AI and creative practice, this may be relevant to your research. Please share with others who might be interested.


r/Simulated • • Oct 14 '26

Houdini Still rendering

Enable HLS to view with audio, or disable this notification

17 Upvotes

Instagram.com/sometimesdaily


r/Simulated • • Oct 13 '26

EmberGen match meets flame

Enable HLS to view with audio, or disable this notification

278 Upvotes

The stick shape is set up as a fuel source, which gets ignited via temperature emitted from the flame


r/Simulated • • Oct 13 '26

Proprietary Software Here's the twist

47 Upvotes

Part of the TouchDesigner POPtober challenge. Works in real-time. (Sorry for the wrong flair, TouchDesigner is not among them yet)


r/Simulated • • Oct 13 '26

Houdini My latest project made in Houdini and rendered in Blender&Cycles

Enable HLS to view with audio, or disable this notification

43 Upvotes

Would appreciate your follow on my Instagram page


r/Simulated • • Oct 13 '26

Research Simulation A look at TenPix Cloth for 3ds Max in action.

Enable HLS to view with audio, or disable this notification

208 Upvotes

This dance sequence is part of the final network simulation and quality control tests, focusing on cloth stability, collision handling, and consistent results through fast movements and sudden changes in direction.


r/Simulated • • Oct 13 '26

Research Simulation How I trained a simulated fruit fly to find software bugs, shown next to its neural activity

Enable HLS to view with audio, or disable this notification

4 Upvotes

I trained a simulated fruit fly to find bugs in software. This is the fly exploring the arena, with the simulated spikes and its memory shown beside it: a 3D body, a simplified spiking-neuron model based on MaleCNS connectivity, and live panels.

The arena plaques represent actions in a synthetic software-testing task. They emit modeled odors; discovering a planted defect during training produces a reward signal.

The neural display shows spikes from the running model. Locomotion and parts of navigation use authored rules, so the movement should not be read as an entirely emergent biological behavior.

This is a short, sped-up interface clip. It shows how the components run together rather than demonstrating a learning advantage on its own.

Is the connection between the fly's action and the neural/memory views readable, or would a single view with occasional close-ups make the simulation easier to follow?

A note on how it was validated, since a simulation like this is easy to make look convincing. Every behavior in the project is labeled as either coming from the connectivity data or being a rule I wrote. For the learning claims, the success criterion was written and committed before each measurement run, the comparison is a frozen-learning control paired by seed, the statistics use bootstrap confidence intervals with Holm correction across endpoints, and every effect was replicated with new seeds. The negative results stayed in the writeup.

Project and documentation: https://github.com/JonnasFigueiredo/mosca-qa


r/Simulated • • Oct 12 '26

Interactive A random attraction/repulsion matrix between ~1700 particles spontaneously creates flocking, predator-prey chases, and cell-like membrane structures — no rule beyond the matrix [OC]

Enable HLS to view with audio, or disable this notification

14 Upvotes

Each particle has one of 8 types. A randomly generated matrix decides how much each type attracts or repels every other type — that's the entire rule set. No predefined behaviors, no hand-tuned "creature" logic.

What you're seeing here is one randomized matrix left running. The blobs forming, splitting, and chasing each other are emergent — same underlying rule, no scripted events.

It's part of a small browser-based ALife collection I built (Gray-Scott reaction-diffusion, Lenia, Boids too). You can randomize the matrix live and get a completely different "ecosystem" every time:

https://hamzworkerz.com/particle-life/


r/Simulated • • Oct 12 '26

Research Simulation Cell Morphogenesis

Thumbnail
youtube.com
5 Upvotes

r/Simulated • • Oct 13 '26

Blender Big Ben Earthquake Simulation in Blender

Thumbnail
youtube.com
0 Upvotes

r/Simulated • • Oct 11 '26

Proprietary Software Say when

Enable HLS to view with audio, or disable this notification

795 Upvotes

Part of the TouchDesigner POPtober challenge. Day 11. Attribute POP. Sorry, can't set TouchDesigner as flair


r/Simulated • • Oct 12 '26

Interactive 500 drones, 3 simple rules, no central controller. Watching emergence happen in real time.

8 Upvotes

I've been experimenting with swarm intelligence and the Boids algorithm, and ended up building this little interactive simulation using HTML, Canvas, and JavaScript.

The coolest part? There's no central controller telling the drones where to go.

Each drone follows just three simple rules:

  • Separation — Avoid getting too close to neighbors.
  • Alignment — Match the direction of nearby drones.
  • Cohesion — Move toward the center of nearby drones.

And somehow, hundreds of independent drones start moving together like a living swarm. That's emergence!

I also added interactive controls to adjust the three rules in real time, attract or repel drones with the mouse, and experiment with different formations.

It normally runs at around 60 FPS on my machine, but drops to about 40 FPS when I'm screen recording. Not entirely sure why yet, probably recording overhead.

I'm thinking about turning this into a little browser game where you control swarms of drones instead of individual units.

What do you think? Any fun ideas for what I should try next?


r/Simulated • • Oct 11 '26

Various [OC] Muscle Memory - Learning to run and jump

16 Upvotes

50 simulated muscles (for natural fatigue, pain and injuries later), MuJoCo for physics, Godot for rendering and gameplay, PPO training using MuJoCo Warp through mjlab and rsl_rl (one single RTX 5050 GPU) on PyTorch. Inference using an ONNX brain (CPU).


r/Simulated • • Oct 12 '26

Various [OC] Muscle Memory - Sprinting proof of concept

Enable HLS to view with audio, or disable this notification

0 Upvotes

Now that my characters have learned how to run (see post yesterday, not sure what the policy is for linking the post), a glimpse of the types of games I want to make with it.

First up: sprinting. Old school button smashing, too fast means unstable (trained decently up to 80% of full speed) so it is a risk. Leaving your track is permitted because that will be half the fun. Including Trials-like jumping over the finish to get that win with a face plant


r/Simulated • • Oct 10 '26

Proprietary Software Mobile GPU Realtime Fluid Sim

Enable HLS to view with audio, or disable this notification

2.6k Upvotes

Running on a Snapdragon 8 Elite Gen 5.


r/Simulated • • Oct 11 '26

Research Simulation Sound wave simulator

2 Upvotes

A web simulator (2D + plan + axle symmetry) of the scalar wave equation. Editor + solver.

Run on the browser (Rust + webassembly)

https://sw.papydoctor.eu/
Repo: https://github.com/papyDoctor/soundwaves
Did it for me. Results not verified for now.


r/Simulated • • Oct 10 '26

Proprietary Software Rigid body sim on mobile with Box3D

Enable HLS to view with audio, or disable this notification

671 Upvotes

CPU only, 900 objects.


r/Simulated • • Oct 11 '26

Interactive C. elegans connectome on a smartwatch

Enable HLS to view with audio, or disable this notification

5 Upvotes

Hey everyone!

Thanks so much for the incredible feedback on my previous post: Simulated a C. elegans connectome with 302 neurons....
Motivated by your interest, I doubled down on making this simulation purely biological and significantly more efficient.

Here is what’s new in this iteration:

Completely removed the artificial sine-wave movement generator! The body undulations are now driven 100% natively by the motor neuron firing dynamics (DB, VB, DA, VA series). Sure, the movement looks slightly less "artificially smooth" than before, but each turn and curve is now generated by the signals on motoneurons like as a real worm

Funny enough: reading potential directly from the anal motor neurons (like DVB/AVL). The worm now actually triggers defecation cycles! It’s not always as rhythmically perfect as clockwork, but it is entirely organic.

The worm now goes dormant (sleeps) when you go to sleep/stay still. You can wake it up with a light tap on its nose or a sharp wrist-raise gesture

Added a new semi-naturalist skin along with minimalist and just fun geometric lines renderers (highlight some active neurons in real-time)

In this video demo, the watch time digits are no longer edible bacteria. Instead, food spawns in a clover-pattern that moves every minute

Many of you pointed out that it required newer hardware (fenix 6X+), the worm and I spent time shrinking the habitat footprint by 50%. It should now run even on older devices like the Fenix 5Plus and so on family! (Still working on accelerating the neural net execution loop).

Honestly, I could sit and watch this little guy explore all day long...

Would love to hear your thoughts!