✨
ThreeJS Toys - Made with
💙
Work in progress...
💙
!!!)
Sponsors (Thanks
Usage - npm
npm install three threejs-toys
Toys
https://codepen.io/soju22/full/KKQaGrE
Particles Cursor -import { particlesCursor } from 'threejs-toys'
particlesCursor({
el: document.getElementById('app'),
gpgpuSize: 256,
colors: [0x00ff00, 0x0000ff],
color: 0xff0000,
coordScale: 1.5,
noiseIntensity: 0.001,
noiseTimeCoef: 0.0001,
pointSize: 5,
pointDecay: 0.005,
sleepRadiusX: 250,
sleepRadiusY: 250,
sleepTimeCoefX: 0.001,
sleepTimeCoefY: 0.002
})
https://codepen.io/soju22/full/wvyBorP
Neon Cursor -import { neonCursor } from 'threejs-toys'
neonCursor({
el: document.getElementById('app'),
shaderPoints: 16,
curvePoints: 80,
curveLerp: 0.5,
radius1: 5,
radius2: 30,
velocityTreshold: 10,
sleepRadiusX: 100,
sleepRadiusY: 100,
sleepTimeCoefX: 0.0025,
sleepTimeCoefY: 0.0025
})
https://codepen.io/soju22/full/YzePgPV
Noisy Lines-import { noisyLinesBackground } from 'threejs-toys'
noisyLinesBackground({
el: document.getElementById('app'),
colors: [0x0231c3, 0xa6d1f6],
minStroke: 0.5,
maxStroke: 2,
timeCoef: 0.0002,
coordScale: 2,
displacementScale: 0.02
})