Commit graph reanimate/src
Author SHA1 Message Date
Jan Hrcek
0aca2333e2
Fix some hlint warnings, and more consistency in examples (#167)
* Remove redundant brackets

* Various hlint fixes

* Remove unused language pragrams and other fixes

* Use addStatic more consistently in examples

* Rename remaining usages of sceneAnimation to scene
2020-09-20 22:51:22 +08:00
David Himmelstrup
217c54ab38
cleanup (#166)
* Remove unused import.

* Add missing documentation.
2020-09-19 22:18:21 +08:00
David Himmelstrup
d37e71ca94
Use V2 instead of tuples and rename 'sceneAnimation' to 'scene'. (#165) 2020-09-19 22:17:51 +08:00
David Himmelstrup
66c15f7cc7 Fix minor bug in line handling. 2020-09-12 10:24:39 +08:00
David Himmelstrup
3ced61e3f5 Fix warning. 2020-09-09 09:23:18 +08:00
David Himmelstrup
e369dbec36 Disable hashing for now. 2020-09-08 19:09:03 +08:00
David Himmelstrup
4481f10ebf Add --disable-hashing flag. 2020-09-08 19:08:52 +08:00
shaurya gupta
e9f893b6e3
hash frames (#157)
* cache frames via hashing

* use reanimate-svg-0.10.3.0

* NFC: whitespace

* Add hashable-1.3.0.0 to extra deps in lts-13,14

* allow-newer in lts-13

Co-authored-by: David Himmelstrup <lemmih@gmail.com>
2020-09-08 18:58:32 +08:00
David Himmelstrup
1c7fa10f86
Efficient time variables. (#145)
Co-authored-by: shaurya gupta <shauryab98@gmail.com>
2020-09-08 17:35:00 +08:00
David Himmelstrup
f207019713
Use reanimate-svg-0.11.0.0 (#161)
* Use new reanimate-svg.
* Disable nix workflow.
2020-09-08 14:01:18 +08:00
Jan Hrček
9d71dd9454 Fix missing backslashes in haddock examples 2020-09-06 16:54:27 +08:00
David Himmelstrup
45ca5781e1
Minor style changes. (#155)
* Bump docker watch interval to 30mins.

* Style changes.
2020-09-04 10:15:10 +08:00
David Himmelstrup
00e2ba6eeb Delete out-of-date documentation. 2020-09-02 21:53:46 +08:00
David Himmelstrup
eff3bad069 Apply scale before computing bounding boxes. 2020-09-02 18:36:32 +08:00
David Himmelstrup
51263e2fba Fix minor bug. 2020-09-01 18:17:32 +08:00
David Himmelstrup
755fb02c6c Rewamp object effects. 2020-09-01 14:15:06 +08:00
David Himmelstrup
1f7c0e705c Get rid of pdual nonsense. 2020-08-31 21:05:27 +08:00
David Himmelstrup
903be6173e Implement SSSP with finger trees. 2020-08-31 20:56:13 +08:00
David Himmelstrup
917dc3693d
Improve the safety of the playground and limit the resources it may use. (#144)
* Improve the safety of the playground and limit the resources it may use.

* Don't send new code to server until 0.5s after the last keypress.
2020-08-28 14:49:55 +08:00
David Himmelstrup
15472e46f8 Hyperlink all examples. 2020-08-28 10:46:07 +08:00
David Himmelstrup
a5f643dd91 Switch to hyperlinked API documentation. 2020-08-28 00:21:16 +08:00
David Himmelstrup
d6523a4160 Bring doc coverage up to 100%. 2020-08-27 22:38:12 +08:00
David Himmelstrup
aed34fb5d9 Yet more haddock documentation. 2020-08-27 16:46:53 +08:00
David Himmelstrup
aa4656d77d Update stylish preferences. 2020-08-27 13:42:59 +08:00
David Himmelstrup
0ea12c58f9 More API docs. 2020-08-27 11:13:45 +08:00
David Himmelstrup
dc54936ba4 Bunch of API documentation fixes. 2020-08-27 10:42:29 +08:00
David Himmelstrup
ce1059b8b0 Yet more API documentation. 2020-08-26 19:49:57 +08:00
David Himmelstrup
efa551d26d Add more API documentation. 2020-08-26 18:48:09 +08:00
David Himmelstrup
117179cf60
[WIP] Use hgeometry instead of custom code (#142) 2020-08-26 17:39:13 +08:00
David Himmelstrup
1203dc1313 Rename cubicbezier module to Geom2D.CubicBezier.Linear 2020-08-26 15:35:47 +08:00
David Himmelstrup
f5970dc60a Use epsilon definition from 'linear'. 2020-08-25 18:38:44 +08:00
David Himmelstrup
d539763fec Get rid of 'fromListS'. 2020-08-25 18:21:56 +08:00
David Himmelstrup
0e58fc66e6 Write API documentation for cameras. 2020-08-25 18:16:25 +08:00
David Himmelstrup
c2f64106e2 Correctly set the z-index of objects. 2020-08-25 17:00:51 +08:00
David Himmelstrup
fd9fc786df Limit exposed functions. 2020-08-25 16:49:27 +08:00
David Himmelstrup
997abc0c9f Get rid of 'drawBall'. 2020-08-25 16:47:11 +08:00
David Himmelstrup
1b748ea127 More documentation, get rid of 'pauseUntil'. 2020-08-25 16:44:26 +08:00
David Himmelstrup
41d6a1d9f1 Write more API documentation. 2020-08-25 16:38:29 +08:00
David Himmelstrup
cc21527078 Document Reanimate.Internal.CubicBezier 2020-08-25 15:59:33 +08:00
David Himmelstrup
f0313ea14b Document the GeoJSON module. 2020-08-25 15:49:06 +08:00
David Himmelstrup
83e4ecd987
Polish object interface (#138) 2020-08-25 13:51:32 +08:00
David Himmelstrup
47ddfa6075 Add function for rendering a single frame. 2020-08-20 20:30:13 +08:00
shaurya gupta
c313628846 Dont export Animation constructor 2020-08-20 08:58:13 +08:00
David Himmelstrup
0d4a5801de
Morphology (#112)
* Move hmatrix dependency out of reanimate's core.

* Move chiphunk to a separate package.
2020-08-07 15:34:26 +08:00
David Himmelstrup
d1b0a50e51
More haddock docs. (#131)
* More haddock docs.

* Remove unused imports.

* Replace '#' with '&' from Control.Lens
2020-08-07 11:09:15 +08:00
David Himmelstrup
ea2eabe9f6
API reference documentation (#130) 2020-08-06 22:17:48 +08:00
David Himmelstrup
d3117d860d
Web-viewer: load animations with GHCi. (#125) 2020-08-04 09:07:54 +08:00
David Himmelstrup
45f3af2a9d Improve caching consistency. 2020-08-03 22:44:30 +08:00
David Himmelstrup
4d3c14fe94 Add more wrapper functions. 2020-08-01 16:50:49 +08:00
David Himmelstrup
78a5b15eca
Wrap CubicBezier with more convenient types. (#122) 2020-08-01 09:39:54 +08:00