add cubic bezier signal

Former-commit-id: ba21e2a15269d4757f4a79a6ac792b3df0fe44f0
This commit is contained in:
William Yao 2020-03-12 10:35:01 -07:00 committed by David Himmelstrup
commit 862a6e67a2
3 changed files with 24 additions and 0 deletions

9
examples/doc_cubicBezierS.hs Executable file
View file

@ -0,0 +1,9 @@
#!/usr/bin/env stack
-- stack runghc --package reanimate
module Main(main) where
import Reanimate
import Reanimate.Builtin.Documentation
main :: IO ()
main = reanimate $ docEnv $ signalA (cubicBezierS (0.0, 0.8, 0.9, 1.0)) drawProgress