website: slow down animation speed of vara sample on front page

This commit is contained in:
Rasmus Andersson 2019-02-03 17:44:20 -08:00
parent 39325643df
commit f9f044531f

View file

@ -122,8 +122,8 @@ function startAnimation() {
, wmax = parseFloat(ui.inputs.weight.max) , wmax = parseFloat(ui.inputs.weight.max)
, imin = parseFloat(ui.inputs.slant.min) , imin = parseFloat(ui.inputs.slant.min)
, imax = parseFloat(ui.inputs.slant.max) , imax = parseFloat(ui.inputs.slant.max)
, wspeed = 200 // lower is faster; time divisor , wspeed = 800 // lower is faster; time divisor
, ispeed = 800 , ispeed = 1600
, clamp = 0.001 , clamp = 0.001
, startTime = monotime() , startTime = monotime()
function update() { function update() {