Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

iTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more

To make a NixieFX particle burst reproducible in Three.js, load an export that supports the three3d backend, create the effect with a fixed numeric seed, and call vfx.update(deltaSeconds) once per frame. Reuse the same effect and seed to replay the same simulated motion; choose a different seed when you want variation.

Set up the Three.js runtime

Install NixieFX and Three.js in your project:

npm install nixie-fx three

Three.js is an optional peer dependency of the runtime package, but it is required when importing its Three.js adapter. See the NixieFX repository for package and entry-point details.

Load and validate the exported effect

Load the export manifest and effect files with loadVfxExportBundle. Set requiredBackend: "three3d" so the loader rejects an export that is blocked for Three.js, then select the effect you want from bundle.effectsById.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Before shipping, inspect the effect’s support report at support.backends.three3d. Overall support can be supported, partial, or blocked. Partial support can include approximations and warnings, so review the backend details rather than treating it as fully equivalent to supported.

#1 Best Overall
Elebase USB to USB C Adapter for iPhone 18 Pro Max,USBC Car Charger Adapter
  • Read Before You Buy — No Video Output: These adapters support charging and USB 2.0 data transfer, but cannot transmit video signals. Except for standard USB webcams (which use USB data only), they are not compatible with HDMI/DisplayPort cables, video-capable USB-C hubs, or docking stations with video output.
  • Convert USB-A Ports to USB-C: Designed to connect USB-C earphones, cables, flash drives, card readers, and other USB-C accessories to standard USB-A ports. Plug-and-play with no drivers or software required.
  • Aluminum Alloy Housing: Built with a sturdy aluminum alloy shell that aids in heat dissipation and protects against daily wear and scratches. Designed to maintain a stable and secure connection.
  • Compact & Travel-Friendly: The ultra-compact design allows the adapter to stay plugged into your device without blocking adjacent ports or adding bulk, reducing wear and tear on your original USB ports.
  • 12-Month Warranty: Backed by a 12-month manufacturer warranty for peace of mind. Designed to meet strict quality control standards for reliable everyday performance.

Provide assets only when the effect needs them

Effects that reference texture files need a ThreeVfxTextureStore with those textures preloaded. Mesh and material providers are also available when needed. These providers are optional: an effect with no file assets does not need them. The Three.js runtime guide documents the provider setup and API.

Create the renderer and a seeded effect

Create one ThreeVfxRenderer for the scene, passing its camera and any required asset providers. Then instantiate the selected effect with an explicit seed:

Rank #2
Anker USB-C Hub, 5-in-1 USB Hub for Laptops, 4K HDMI Multiport Adapter
  • 5-in-1 USB-C Hub: Experience comprehensive connectivity featuring a Power Delivery input, two USB-A 2.0 ports, a USB-A 3.0 port, and an HDMI port. (Note: The USB-C power delivery input port is only for connecting an external wall charger to power your laptop and cannot power peripheral devices.)
  • 90W Pass-Through Charging: Achieve optimal charging with 90W pass-through power to your laptop, supported by a total input of 100W, with the hub reserving 10W for operational efficiency. (Note: Wall charger not included.)
  • Quick Data Transfers: Accelerate your productivity with rapid data transfers using a high-speed 5Gbps USB 3.0 port and two 480Mbps USB 2.0 ports.
  • 4K HDMI Display: Enhance your visual experience with a hub capable of delivering 4K resolution at 30Hz in both mirror and extend modes. Please note that this hub is compatible with MacBook (macOS 12 and newer), Windows 10 and 11, ChromeOS, and laptops equipped with DP Alt Mode and Power Delivery. Note: This device is not compatible with Linux.
  • What You Get: Anker USB-C Hub (5-in-1, 4K HDMI), welcome guide, 18-month warranty, and our friendly customer service.
const vfx = renderer.createEffect(effect, {
  position: [0, 1, 0],
  seed: 42
});

The position is the effect’s world-space origin. The numeric seed controls its repeatable simulated motion. NixieFX documents that “The simulation is deterministic: same effect, same seed, same motion, on every machine and every backend.” This is a claim about simulation motion, not a guarantee of pixel-identical rendered frames: rendering conditions, assets, browser and GPU behavior, and host frame progression are separate variables.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Advance the effect once per frame

Call vfx.update() with a delta measured in seconds, once on each host frame and before rendering the scene:

Rank #3
Anker USB C Hub, 7in1 Multi-Port USB Adapter, 4K@60Hz USBC to HDMI Splitter
  • Sleek 7-in-1 USB-C Hub: Features an HDMI port, two USB-A 3.0 ports, and a USB-C data port, each providing 5Gbps transfer speeds. It also includes a USB-C PD input port for charging up to 100W and dual SD and TF card slots, all in a compact design.
  • Flawless 4K@60Hz Video with HDMI: Delivers exceptional clarity and smoothness with its 4K@60Hz HDMI port, making it ideal for high-definition presentations and entertainment. (Note: Only the HDMI port supports video projection; the USB-C port is for data transfer only.)
  • Double Up on Efficiency: The two USB-A 3.0 ports and a USB-C port support a fast 5Gbps data rate, significantly boosting your transfer speeds and improving productivity.
  • Fast and Reliable 85W Charging: Offers high-capacity, speedy charging for laptops up to 85W, so you spend less time tethered to an outlet and more time being productive.
  • What You Get: Anker USB-C Hub (7-in-1), welcome guide, 18-month warranty, and our friendly customer service.
function animate() {
  requestAnimationFrame(animate);

  const deltaSeconds = clock.getDelta();
  vfx.update(deltaSeconds);

  renderer.render(scene, camera);
}

animate();

If your timing source returns milliseconds, convert the value by dividing by 1000. Passing milliseconds to an API that expects seconds advances the simulation far too quickly. The runtime setup and update contract are also described in the repository documentation.

Trigger an immediate burst or author a schedule

Request a burst at runtime

Use instance.emitBurst(emitterId, { count, position }) to request an immediate burst from a specific emitter. It returns the number actually emitted after capacity clamping. If the effect has completed, the documented behavior is to restart it before emitting.

Rank #4
Sale
UGREEN USB to USB C Adapter Combo 4-Pack, 10Gbps USB C Converter Space Gray
  • Dual Converters, Infinite Potential:Includes 2× USB C male to USB A female adapters and 2× USB A male to USB C female adapters. Perfect for a wide range of uses—tablets with Bluetooth keyboards, expand USB ports on macbook, and more. Two different converters for all your daily needs
  • Next-Level 10Gbps & 3A Charging: No more slow 480Mbps, this usb to usb c adapter has a transfer speed of up to 10Gbps, allowing you to do more transferring in less time. This usb adapter fits both USB A and USB C charger, supporting up to 3A fast charging
  • Upgraded Exquisite Craftsmanship: With an aluminum alloy housing and metal connector, the usbc to usb adapter is extremely durable and sturdy. Rigorously tested to withstand more than 10,000 times of plugging and unplugging, ensuring long-lasting performance
  • Broad Compatible: The usb c to usb adapter widely supports all USB C/ USB A devices like laptops, tablets, cellphones, car chargers, and phone chargers. Such as compatible with MacBook Pro/Air 2023/2022, Thunderbolt 4/3 Devices,Apple MagSafe Watch 9/8/7/SE/Ultra, iPad Pro 2022/2021, Samsung Galaxy S23/S20/S10, and iPhone 17/16/15 Pro. Plug and play
  • Please Note: To reach 10Gbps speed, keep the cable under 3.3 ft. For USB A Male to USB C adapters, try flipping the USB C connector. USB C Male to USB A adapters support bidirectional 10Gbps transfer within 3.3 ft

Configure a burst in the effect

For a burst that is part of the authored effect, the editor provides controls for burst time, count, cycles, interval, and chance or probability. See the NixieFX Editor Manual for those controls.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Replay the same motion or create variation

Use the same effect and seed when you want the same simulated motion again. The Three.js API also supplies a fixed default seed, 0x7F4A7C15, when you omit one. As a result, leaving out seed does not give each new instance a fresh random pattern. Pass a different seed for a varied spawn, or use seek(timeSeconds) to reach a chosen point through deterministic replay.

Best Value
Anker USB C Hub, 5-in-1 USBC to HDMI Splitter with 4K Display
  • 5-in-1 Connectivity: Equipped with a 4K HDMI port, a 5 Gbps USB-C data port, two 5 Gbps USB-A ports, and a USB C 100W PD-IN port. Note: The USB C 100W PD-IN port supports only charging and does not support data transfer devices such as headphones or speakers.
  • Powerful Pass-Through Charging: Supports up to 85W pass-through charging so you can power up your laptop while you use the hub. Note: Pass-through charging requires a charger (not included). Note: To achieve full power for iPad, we recommend using a 45W wall charger.
  • Transfer Files in Seconds: Move files to and from your laptop at speeds of up to 5 Gbps via the USB-C and USB-A data ports. Note: The USB C 5Gbps Data port does not support video output.
  • HD Display: Connect to the HDMI port to stream or mirror content to an external monitor in resolutions of up to 4K@30Hz. Note: The USB-C ports do not support video output.
  • What You Get: Anker 332 USB-C Hub (5-in-1), welcome guide, our worry-free 18-month warranty, and friendly customer service.

For an effect that should wait for an explicit trigger, create it with autoStart: false and use its lifecycle or burst methods to run it. The instance also supports play(), pause(), restart(), and transform updates such as setTransform(...). When reusing an instance, these controls let you restart or reposition it without rebuilding the renderer.

Release scene resources

When the owning scene is released, destroy the renderer and any texture store created for it. This keeps their lifecycle aligned with the scene that uses them.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.