Babylon quarks particles

I built and released babylon.quarks — a library that brings the Quarks particle workflow into Babylon.js projects.

The main goal was to make Quarks-style VFX feel native in Babylon.js, with a setup that’s practical for real projects (not just isolated demos).

What’s available now:

  • particle systems integrated for Babylon.js scenes;
  • example demos covering different effect styles and behaviors;
  • npm package;
  • live examples so you can see results immediately.

Live examples:

npm package:
https://www.npmjs.com/package/babylon.quarks

If you work with VFX/game feel in Babylon.js, I’d really appreciate feedback.

I’m also working on an Effect Editor for Babylon Editor, which will allow you to create effects and import them to babylon.quarks

13 Likes

This is really nice! cc @AlitarSemiramis

2 Likes

This is sooooo cool! I love the Texture Sequencer and the Muzzle Flash demos in particular.

1 Like

Woah I will definitely try this out! Effect creation has been pretty big bottleneck in my game, this could simplify it since there seems to be a big asset store for these effects! Could maybe use those with small tweaks, the look professional enough :grin:

1 Like

I’m currently working on editor integration and will also add a Unity exporter. This exporter will allow you to convert Unity’s shuriken effect to Quark format and use it in babylon.js with my library.

4 Likes

babylon.quarks@0.17.3 — overview

Performance & trails

  • Hot path: fewer allocations in renderer batches; tighter particle update and spawn loops.
  • Trails: fast trail history ring buffers. 4x faster
  • New adaptive performance budget controls.
3 Likes

This looks really cool !!! we need more demos :slight_smile: a lot of them :slight_smile: and yes I love particles

1 Like

I really love it !!!

Would it be possible to add this to the Official add ons ?

Change log for babylon.quarks@0.17.4

  1. You can now drag a Quarks-style .json into the examples viewer to preview VFX in Babylon.
  2. Examples are in TypeScript
  3. removed dead options from old Three demos
  4. Fixed a bug where mesh particles (e.g. ring/circle emitters) could load with correct vertex count but render invisible because non-indexed geometry wasn’t turned into triangles.
  5. Unity → JSON exporter package in progress (currently being tested on over 600 effects)
2 Likes

wow! Unity’s particles support is a great move! Nice job!