Commit graph reanimate/test
Author SHA1 Message Date
David Himmelstrup
f58a00e56a
Disable hgeometry dependency and bump version. (#282) 2022-06-02 20:09:15 +02:00
Michal Kukiela
f14192f637 Move .golden files to a subdirectory. (#78) 2020-10-09 16:53:39 +08:00
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
b3a685f57a Disable unit tests if reanimate library isn't built. 2020-09-09 12:52: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
fb868cab9b
Run playground tests on PRs without deploying to GitHub Pages. (#148) 2020-09-03 15:32:41 +08:00
David Himmelstrup
903be6173e Implement SSSP with finger trees. 2020-08-31 20:56:13 +08:00
David Himmelstrup
ce1059b8b0 Yet more API documentation. 2020-08-26 19:49:57 +08:00
David Himmelstrup
117179cf60
[WIP] Use hgeometry instead of custom code (#142) 2020-08-26 17:39:13 +08:00
David Himmelstrup
61fd6bc743
Support both cabal and stack in the test-suite. (#139) 2020-08-25 09:57:39 +08:00
David Himmelstrup
34aa5780ec
Replace 'here' dependency with the lightweight 'neat-interpolation' (#106)
Misc improvements:
 * Add tasty-rerun
 * Extend CI coverage
2020-07-12 13:27:01 +08:00
David Himmelstrup
d64e36fe05
Use high-performance earcutting algorithm (#105) 2020-07-11 14:35:06 +08:00
David Himmelstrup
668a5f0391 Revert "Switch to better earcutting algorithm."
This reverts commit cabf77cceb.
2020-07-11 10:13:47 +08:00
David Himmelstrup
cabf77cceb Switch to better earcutting algorithm. 2020-07-11 09:53:29 +08:00
David Himmelstrup
4356efbc7e Feature morph (#62)
* Disable windows CI (because of hmatrix)
* Implement ear-clip triangulation.
* Implement common framework for polygon morphing.
* Draft implementations of compatible triangulation and mesh smoothing.
* Implement least-work morphing.
* Implement as-rigid-as-possible morphing.
* Implement SSSP.
* Draft article about polygon morphing.

Former-commit-id: f6f19f58b9dd58c655bcca0ed2d65f72726f0a06
2020-05-14 15:14:29 +08:00
David Himmelstrup
08298ad0de Disable video checking when running testsuite from cabal file.
Former-commit-id: 0e08b826bace5874b8141e3e2edde274c4aa73f7
2020-02-24 21:33:58 +08:00
David Himmelstrup
b466bcc6be Misc cleanup. (#55)
Former-commit-id: 8490a1405235c3902e8bca9d7fc2f6845b287d19
2020-02-20 16:34:52 +08:00
Jan Hrček
a66276a4d4 Extent pathify to work for elipses, polylines and polygons
Former-commit-id: f89ff11a1b57ac93f326d0443befdf3e7042e4ea
2020-01-06 08:00:08 +08:00
David Himmelstrup
dce99c7f70 Test suite: check the svg output of examples.
Former-commit-id: 344c1532412a3a57bbeaf67c9e919119de4a10b7
2019-12-13 18:54:35 +08:00
David Himmelstrup
07135a41bf Allow video projects to have multiple source files.
Former-commit-id: d671a0636c617887f52f4b1f9f0ee04ba6cee05f
2019-09-29 14:48:16 +08:00
David Himmelstrup
c2af9fbac0 Improve haddock documentation. (#20)
* Improve CLI help message.

* Change hackage badge color.

* Add supported platforms.

* Add 'signalOscillate'

* Split SVG module into smaller parts.

Former-commit-id: ad62a06a5442912f6bd0be0e10d02fe53345b846
2019-09-28 16:24:41 +08:00
David Himmelstrup
14c6f7bca8 2D physics simulations using Chipmunk2D. (#16)
* Basic 2D physics support.

* PolyShape: Code for decomposing arbitrary shapes into convex polygons.

Former-commit-id: 6cdce508f8bb7b6a20833d1e5204b93e7b19707f
2019-09-24 10:12:01 +08:00
David Himmelstrup
6974e10a4b Turn warnings into errors.
Former-commit-id: ab53aa555f431e00ec7b1a7ba23dac1608e95598
2019-09-17 18:47:31 +08:00
David Himmelstrup
4803206f23 Add command line parser to the driver. (#7)
Former-commit-id: 3307a8e2e871e179d77fa5750fcb87d34d92a171
2019-09-15 13:14:31 +08:00
David Himmelstrup
a15c6a7a98 test-suite: compile all videos.
Former-commit-id: b6923d45d6582438725dd4cba93476bc06a070e8
2019-09-12 19:52:27 +08:00
David Himmelstrup
60cc5e9dcb test-suite: compile all examples.
Former-commit-id: c9b745abdba81e1de1404fda0963b3d421613539
2019-09-12 19:12:34 +08:00
David Himmelstrup
5598002001 Reduce output during testing.
Former-commit-id: 69966bd73d6aec62ce7a9dc141ef7d31cb8087fd
2019-09-10 09:38:07 +08:00
David Himmelstrup
1b17180569 Add testsuite.
Former-commit-id: bc34312dfef68bc81fc1257970786ea7b23ee99b
2019-09-09 19:10:31 +08:00