Skip to content

MrunalSawant/particle-system

Repository files navigation

particle-system in three.js

A sample project to try indexed particle system ( points ) in three.js Project is based on three.js , typescript, react Raycasting is used to determine which particle got interesected.

Constants can be modified in Constant.ts file For e.g.

export const ParticleSize = 0.04
export const RayCasterThreshold = 0.01

How to use the Project

npm install 

npm run start

live

Live

demo

image