My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more
Build Particles Effect with three.js or PixiJS - David Guan - Medium

Build Particles Effect with three.js or PixiJS - David Guan - Medium

Lisa Stroupe's photo
Lisa Stroupe
·Sep 9, 2017

Rendering graphics is a heavy work, especially for fancy effects cases like this one, so WebGL needs to be used(for web applications). three.js and PixiJS are two famous WebGL wrappers. Let's get started The smallest unit of this effect is the particle, it should take responsibility for initializing the graphic it linked with and provide an update method to be called in application's rendering loop, use Pixi.js as an example.