A creative coding exploration into how to recreate the effect of a high-speed light in real-time using Three.js.
Through this article, we’ll use Three.js and learn how to:
instantiate geometries to create thousands (up to millions) of lights
make the lights move in an infinite loop
create frame rate independent animations to keep them consistent on all devices
and finally, create modular distortions to ease the creation of new distortions or changes to existing ones
It’s going to be an intermediate tutorial, and we’re going to skip over the basic Three.js setup. This tutorial assumes that you are familiar with the basics of Three.js.
Read complete article here:- https://www.epicprogrammer.com/2021/11/infinite-lights-with-threejs.html