init
This commit is contained in:
15
script.js
Normal file
15
script.js
Normal file
@@ -0,0 +1,15 @@
|
||||
import { neonCursor } from 'https://unpkg.com/threejs-toys@0.0.8/build/threejs-toys.module.cdn.min.js'
|
||||
|
||||
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
|
||||
})
|
||||
Reference in New Issue
Block a user