r/TopologyAI • • 8d ago

Showcase Every Effect Here Is Code: 20 Three.js Spells Written by Gemini 4 Neon

A three.js VFX test by game designer: 20 spell effects written in pure code by Gemini 4 Neon

  • Model: Gemini 4 Neon

  • Runs on: three.js

  • Effects: 20 spells, written in pure code

  • Characters: 3D models from Tripo AI

  • Sound: ElevenLabs

The clip runs 2 minutes 38 seconds, about 8 seconds per spell. Among them: a black hole, clockwork gears over a clock face, a guillotine, a voxel cube, a ring of equalizer bars and giant hands rising from lava.

The brief that works is to direct the model like a game VFX artist: exact timing beats (anticipation, hit-stop, linger), a unique silhouette per spell, and named shader craft such as SDFs, depth-soft blending and selective HDR bloom.

1.0k Upvotes

59 comments sorted by

20

u/ETZEEA 8d ago

Can you share how you work for it from prompting so it can be this good?

6

u/latamxem 8d ago

i know nobody ever does. but then again you can just have any llm craft the prompts for you

4

u/ETZEEA 8d ago

Yeah i dont get why people are gatekeeping them 😔

6

u/Diligent_Historian93 8d ago

Neon is kinda just good tbh. I've used opus 5.5 exclusively so far because I'm on the 20$ sub and that's the only model that does amazingly at good value, but neons the first model that replaced it for me. Now I exclusively use neon

2

u/arrrtttyyy 5d ago

For what, 3D visuals?

37

u/Salt-Freedom-2419 8d ago

Looks good. Still not getting the hoohaw about something being pure code.

26

u/Spoonman915 8d ago

Well, considering that prior to stuff like this, most effects had to be key framed and animated in a 3d or 2d package. I think three.js combined with AI makes it accessible to a lot more people and lowers the barrier to entry.

5

u/WhoIsCogs 8d ago

I mean, that just isn’t true, code based animation has been around for AGES

5

u/Spoonman915 8d ago

What you're saying doesn't contradict what I'm saying. I didn't say it was new, I said AI driven code makes effects more accessible. If we wanted to get technical with the 'well actually" all digital effects are code based.

2

u/WhoIsCogs 8d ago

Sure but what I said is still relevant to you saying most effects had to be key-framed before. That’s largely untrue, especially in games. Procedural animation has been commonplace since the late 90’s and used even before that in the 80’s. That’s like 30 years of common code-based, non-keyframe VFX and animation.

A lot of vibe coders do amazing things thanks to AI but don’t understand the history or background of those things. I’m not complaining, just stating a fact, like folks who think they are revolutionizing gaming with a tech demo that’s 96kb HTML file running in Chrome!!!!

5

u/Spoonman915 8d ago

Effects have been key framed since film was invented in the late 1800s. That's like 140 years of hand drawn, key-framed, in-betweened vfx and animation.

A lot of programmers do amazing things thanks to technology, but don't understand the history or background of those things. I'm not complaining, just stating a fact, like folks who think they are revolutionizing effects and animation with a little bit of math and code.

-1

u/[deleted] 5d ago

My brother here hasn't worked a day as a shader or VFX artist and it shows.

1

u/Spoonman915 5d ago edited 5d ago

Possibly. or could be I was buying books on vfx, compositing, and shaders before you were born.

Just in case you don't realize that people used to learn from books before yotube, I've been in vfx and animation since before there were view cubes, and node based workflows.

1

u/ackley14 8d ago

exactly. some of the earliest workarounds for graphics limitations in the early generations of gaming were procedural graphics. from procedural texturing, to procedural modeling. heck even many modern games use it. No Man's Sky is a great example. a lot of what you see in that game is procedural.

everything graphically apart from the textures in minecraft is procedural (and i don't just mean world generation).

1

u/Traditional-Wish-728 8d ago

It’s because if it’s just code, we don’t need to ship giant asset files to the client to run the effects. We can just ship lines of code that will produce the effect, thus cutting down the total Gb/Mb we have to send to users

1

u/barfoob 5d ago

But there's a difference between the assets being in code and the assets being procedurally generated. It's not terribly uncommon to build an asset in an editor and then save it as code. For example in GIMP you can export your image to a C byte array but it's not any more compact of a representation. In fact in many cases it's probably much worse but it saves you the effort of building a deserialization/file reader tool because the compiler is doing it for you. In blender some people build custom export tools that just generate a code file per asset so it's as though you had manually written code to assemble the mesh, assign its materials, etc.

I don't think it's a bad idea but I also don't get the hoohaw :) If OP means they found a clever way to make heavily parameterized procedural effects then that's another matter! That could indeed be very cool because it either allows for a lot of dynamic adjustment or for just compression.

1

u/PivotRedAce 5d ago

The flip-side of that though is such a method is going to be more CPU intensive.

You're absolutely right that it'll basically eliminate the package size of an effect like this, but there's a reason assets like this are pre-baked in most games. Storage size has been deemed an acceptable trade-off for freeing up more CPU power rather than the other way around.

There's no such thing as a free lunch in this case, sadly.

1

u/Vibecoding_Jesus 4d ago

The thing I haven’t seen yet is this integrated into a proper game engine.

I’ve built 3 worlds based on this approach and they’re fun in a web browser, but I’m still buying Niagara assets to do this in UE.

Next step for me will be when this is mainstream for effects and models in UE and Unity.

0

u/[deleted] 8d ago

[deleted]

4

u/TheCuriousGuyski 8d ago

Well you are just insane lol

-8

u/No-Economics-6781 8d ago

Right? The fact it’s just ai code makes it feel ‘meh’

4

u/FearlessBag9339 8d ago

How tf did you prompt this

1

u/Minute-Method-1829 7d ago

the explosion it does like this by default basically, the rest you just descibe what you want and then iterate. This art style is pretty easy for AI, if you want something else it's more difficult though.

3

u/techierk 8d ago

Niceee

2

u/Iampepeu 8d ago

Crazy good!

2

u/mccoypauley 8d ago

Incredible

2

u/Linda_Randll 8d ago

very nice!

2

u/Prologue1990 8d ago

How is neon accessed? Through gravity?

2

u/DavidOBE 8d ago

Now give me a new turn based jrpg like ff with these effects plus a good story and i'm in

1

u/cs_cast_away_boi 8d ago

woahhh, making me want to make my own game lol

1

u/Putrid-Bison-1690 8d ago

this sheeeeeh looks goooood

1

u/LaFllamme 8d ago

!remindMe 1d

1

u/vaksninus 8d ago

This is really an insane tool, very much appreciated

1

u/maxneuds 8d ago

Can you share the prompts for these effects please?

1

u/pirondi 8d ago

Very good

1

u/Otherwise-Bath-2335 8d ago

Can these vfx be used in unity and unreal?

1

u/Troyd 8d ago

Only the vfx are code right, the character animations are still clips I assume

1

u/bunnybunny_game 8d ago

this useful

1

u/shion12312 7d ago

🫩

1

u/thecrustycrap 7d ago

Wow the vfx looks great

1

u/FaultArchitect 5d ago

Haven't got around to trying Neon out yet. Is it really that much better than Opus 5.5?

1

u/Albob187 5d ago

every ingredient in this sandwich is food

1

u/Legitimate-Poet7587 3d ago

called shader programming

1

u/Savings_Cloud5486 8d ago

Is that public? Any link?

1

u/Mission_Bullfrog3294 8d ago

Yeah, that’s the best I’ve seen! very impressive. Would you mind sharing one of the prompts?

0

u/dandadan4seven 8d ago

How did you formulate your art direction? Or do you ask for "make blackhole spell?

1

u/caxco93 8d ago

you describe it bro.

0

u/Lasko_____ 8d ago

Visuals are amazing but sfx could be more detailed and matching with the interactions .