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

16 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!

1 Like

babylon.quarks 0.17.6 — what’s new since 0.17.4

New: a visual effect editor

The headline feature — `babylon.quarks-editor`, a Shuriken-style particle editor built for babylon.quarks. Unity-like hierarchy of systems and groups, a stacked module inspector (Emission, Shape, Color/Size over Lifetime, Noise, Sub Emitters, Renderer, and more), visual curve and gradient editors, full undo/redo, and a timeline panel to scrub effects and preview multi-system/group playback. Drop it into your own app as a React component, or just open the standalone page and start building. Try it live: editor.

:high_voltage: Particle benchmark

Added a head-to-head benchmark comparing babylon.quarks against Babylon’s built-in CPU and GPU particle systems, sweeping particle counts and emitter setups. Good way to see the batching payoff for yourself: benchmark.

quarks.core is now in-house

The core engine used to be an external dependency — it’s now folded directly into the monorepo. Means faster iteration and no more waiting on upstream to fix or extend core behavior.

:test_tube: WebGPU — experimental

Early WebGPU support is in, but it’s not battle-tested yet — there are known rendering issues. Treat it as experimental for now; bug reports welcome if you’re poking at it.

:package: UMD/CDN build

A `dist/babylon.quarks.umd.min.js` bundle with a `BabylonQuarks` global — drop it straight into the Babylon.js Playground or a plain `` tag, no build step needed.

:books: Docs

TypeDoc-generated API reference is now published: API docs. Roadmap and demo previews also added to the README.

:wrench: Fixes

Mesh render mode fixes and documentation cleanup.

6 Likes

This most go in the Babylon.js Editor!!!

1 Like

So pretty !!!

1 Like

Quick update: babylon.quarks-editor is now published to npm — install it and go, no need to build from source anymore.

:package: https://www.npmjs.com/package/babylon.quarks-editor

npm install babylon.quarks-editor babylon.quarks @babylonjs/core react

Also added a proper ground grid + lighting to the editor’s preview scene, so it’s easier to judge scale/ground contact and mesh-mode particles actually look lit now instead of flat.

Unity exporter: if you’re building effects in Unity’s Shuriken system, there’s a Unity Editor tool that exports them straight to the same JSON format babylon.quarks reads. Select your effect’s GameObject (a single Particle System, or a parent with several/sub-emitters), Tools → Quarks → Export Selected Effect to JSON, pick where to save — textures get baked in as data URIs so the file is fully self-contained, no separate asset folder to ship. Drop the .json straight into QuarksLoader, or open it in the effect editor to tweak further. Grab the .unitypackage from the latest GitHub release, or wire it in as a local UPM package if you prefer.

2 Likes

This looks amazing!

1 Like

Small update to babylon.quarks:

  • New Object Properties module + gizmo — transform any node in the effect tree, not just particle systems.
  • Timeline finally respects “loop” — non-looping effects now actually stop, snap the playhead back to 0, and auto-pause instead of looping forever visually. Ruler also matches your real duration instead of stretching to a fixed minimum, and dragging the playhead to the end no longer randomly snaps back mid-drag.
  • Site got a refresh too — new hero background, logo/branding pass.
4 Likes

Getting better with every post!

1 Like


How many VFX are in Babylonjs? Depends on how much you can buy in the Unity Asset Store. :grin:

7 Likes

Id love to see that stats on this scene!