Commit graph

437 commits

Author SHA1 Message Date
David Himmelstrup
806f1ad48e Use better example for 'pause'.
Former-commit-id: c6a0468f1ab7f6a156dd1a80bee5803ffa954a72
2019-09-29 13:56:06 +08:00
David Himmelstrup
56eb6eceb5 Document latex, latexAlign, and xelatex.
Former-commit-id: c5ac09a2ddcb0d0ecb3d897871ff49b41beac6f6
2019-09-29 12:05:13 +08:00
David Himmelstrup
ab87e379ba Update test files.
Former-commit-id: 2cdcbc7ebf0c47f41cc2ee88c99b9fd33800f38b
2019-09-29 11:24:45 +08:00
David Himmelstrup
eb89cac14c Add colormaps to documentation.
Former-commit-id: d9db76c4f0715800ef6f94e6618d6682a2c8112b
2019-09-29 10:06:24 +08:00
David Himmelstrup
a4d6ae0156 Fix cabal format.
Former-commit-id: 303cba095831bcdc9eef4de9bacf5c0a89461e7b
2019-09-28 21:39:26 +08:00
David Himmelstrup
756a404095 Require cabal >= 1.18
Former-commit-id: 416e16a0f4505d4afcd0817a74b86d1a4e280037
2019-09-28 21:37:12 +08:00
David Himmelstrup
a46fe0d51c Bump version to 0.1.7.0
Former-commit-id: 838dcd780d8c792cf40a17a888f51a793fecf375
2019-09-28 21:36:17 +08:00
David Himmelstrup
dfd52961ae Use gifs to improve documentation. (#21)
Former-commit-id: 40e5ccedcf5d1ca8f0d5cc373ba3b3c4cc2d6c6a
2019-09-28 21:35:42 +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
6cda908e11 raster :: Tree -> DynamicImage (#19)
Former-commit-id: 6224a6fcc8cf1a50a2a934b067c37b4a34883e0f
2019-09-27 14:06:45 +08:00
David Himmelstrup
4a8e9179dc Playing around with chipmunk.
Former-commit-id: cbfe982142bbc38787f8b2c375ccf2870b1eab4c
2019-09-25 07:34:28 +08:00
David Himmelstrup
39b46248a6 Improve test environment. (#17)
Install ffmpeg on linux, mac and windows.

Former-commit-id: 94b989b621265c1454793d129d9ca3321dfa513a
2019-09-24 19:43:06 +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
bb8f145868 Basic keymap support (up,down,left,right,space). (#14)
Former-commit-id: 1a1e913bbaf544781e048d1362c5ac4cfbb541a7
2019-09-20 15:36:36 +08:00
David Himmelstrup
19825e6414 Improve simplify command.
Former-commit-id: 370f1e659bc2fbcdf190dc2ea19da1ed274bf2d6
2019-09-20 14:09:37 +08:00
David Himmelstrup
faed6a0f7d Bump reanimate-svg dependency to 0.9.2.1
Former-commit-id: 0144c610dfa732e3d99f64f17ab2740eae86a5c4
2019-09-20 14:09:12 +08:00
David Himmelstrup
fe3e8788d3 Remove unnecessary import.
Former-commit-id: 2ea5e23b6aba198829b35896a86658373d08e9fd
2019-09-20 11:50:36 +08:00
David Himmelstrup
1c93dcfe13 More color-theory dev.
Former-commit-id: f1836eac8309ba0df2a7e6f863f2544cab0c86db
2019-09-20 11:24:00 +08:00
David Himmelstrup
c0925f64f2 Merge branch 'master' into color-theory
Former-commit-id: a2ef4d43634485e411a2d91eebd7bb2d18ba5c48
2019-09-19 17:38:24 +08:00
David Himmelstrup
23146429a5 Documentation. (#12)
* First docs.

* Docs requirements.

* Add auto-generated gallery and fix two bugs in the driver.

* Gallery: link directly to github.

* Tag examples as Haskell code.

* Update starting guide and redirect gallery links to master branch.

* Include link to readthedocs.


Former-commit-id: 90e846e5001deadd6c921f611c69b3a4210db30d
2019-09-19 16:52:34 +08:00
David Himmelstrup
e8bfdbee1b Update color-theory video to newest viewport.
Former-commit-id: 41848cad09eaa08a8f71afa1c8a004574cab507d
2019-09-18 21:32:16 +08:00
David Himmelstrup
df36127d8a Fix rastering and ternary plots.
Former-commit-id: 65277778b8d8661a306709f8c406a6398e5ca783
2019-09-18 21:31:52 +08:00
David Himmelstrup
e14f318240 Add high and medium rendering presets.
Former-commit-id: 0f17a7dc3f27e08459c6dc90a9c6b0f38ae3d4be
2019-09-18 21:31:27 +08:00
David Himmelstrup
df910dee39 Merge branch 'master' into color-theory
Former-commit-id: 44d5fcbd947cba902159ec635fc762e4b23a1a21
2019-09-18 19:21:45 +08:00
David Himmelstrup
89905ebe39 Set viewbox to 16 by 9. (#11)
* Set viewbox to 16 by 9.

* Update examples and fix process termination bug in driver.

* Add module for constants.


Former-commit-id: 1c77569e771455e674485e2fc58ee57e7df5f3c5
2019-09-18 19:20:14 +08:00
David Himmelstrup
336a011aaa Delete unused arrow interface.
Former-commit-id: ac61c83b56b8c10173c188c9c4094cc701af23c5
2019-09-18 09:15:07 +08:00
David Himmelstrup
0bb0251f64 Don't open more than 1 browser windows.
Former-commit-id: 58311cbd87bd9d4a9107687c579d86f30cc982e6
2019-09-18 07:48:27 +08:00
David Himmelstrup
e5d8674235 Add Reanimate.Builtin.TernaryPlot
Former-commit-id: e046e1a803abfc3fc8d8694742e1d173410df6c9
2019-09-17 22:09:37 +08:00
David Himmelstrup
382c4ed341 Merge branch 'master' into color-theory
Former-commit-id: 07242075d6ff0b1e1ac0adf697dc8d4eec5592d8
2019-09-17 20:11:05 +08:00
David Himmelstrup
271ee58a4e Update latex_draw gif.
Former-commit-id: 6a7d00c2c7f85c3f2e03469ac0c30b6fc996da90
2019-09-17 19:04:34 +08:00
David Himmelstrup
400944656d Add latex_wheel gif and remove a bunch of old gifs.
Former-commit-id: a14bbf6c49920e9033c80077447c67bf133de743
2019-09-17 19:00:05 +08:00
David Himmelstrup
8bf9c4b486 Implement 'render --compile' for faster rendering. (#10)
Former-commit-id: 444b8b5113205df533b949b7b7e328a94132dc2e
2019-09-17 18:52:47 +08:00
David Himmelstrup
6974e10a4b Turn warnings into errors.
Former-commit-id: ab53aa555f431e00ec7b1a7ba23dac1608e95598
2019-09-17 18:47:31 +08:00
David Himmelstrup
716a42cdaf Add animation effects. (#9)
* latex-wheel and MonadFix for Scene.

* Add Effects module.


Former-commit-id: 824ebe9919e57fcc3af7c8c4d6afa0e9899564f8
2019-09-17 18:21:52 +08:00
David Himmelstrup
a7729a90e9 Color-theory updates.
Former-commit-id: e42bce4bd0d1dac27ab76b1093fe4f6eedcc80f5
2019-09-17 17:31:50 +08:00
David Himmelstrup
9e6529682f Add scaling helpers.
Former-commit-id: 685619b2c79867aed23a565cda983b8d1117bd1a
2019-09-17 17:31:13 +08:00
David Himmelstrup
cc05283766 Fix scene timings.
Former-commit-id: eb32fe32bcba11b1fec647ae3ce91610f3c1e092
2019-09-17 17:31:13 +08:00
David Himmelstrup
79d4202b55 Use absolute paths when changing directories.
Former-commit-id: 23273d3377608ff4868d3d634e65afc57c4d21ed
2019-09-17 14:26:46 +08:00
David Himmelstrup
3012d2cbde Watch all interesting files (source files, data files, etc) in the source directory tree. (#8)
Former-commit-id: 6682a60c99eef44a195dcc566e51f2b399d1f224
2019-09-17 10:26:45 +08:00
David Himmelstrup
133c5fe6ee Fix azure formatting.
Former-commit-id: 86968e383a15323c8113ecb755982fbf50c46742
2019-09-17 10:04:23 +08:00
David Himmelstrup
08aa2c7b0c Only trigger azure builds on the 'master' branch.
Former-commit-id: 561084bc1e1fd7756a61c6809704c420460253a7
2019-09-17 10:00:37 +08:00
David Himmelstrup
0f1c499723 Update TODO items.
Former-commit-id: 841d13260b544ee3db49cd75f94fed294135c953
2019-09-16 10:51:38 +08:00
David Himmelstrup
0f754956c7 Don't remove temporary files and directories. It fails on Windows for some reason.
Former-commit-id: ecb8b845accc606b70f5a537d0f6c444d250c42e
2019-09-15 14:45:38 +08:00
David Himmelstrup
00e7cc35bb Update test animations.
Former-commit-id: bd94b209c075967c8524709c5d459dbed334b2c0
2019-09-15 14:31:03 +08:00
David Himmelstrup
8f7a563677 Fix compiler warnings.
Former-commit-id: 4d55be74eed68a6d0f03a629ee1466247aad45b5
2019-09-15 14:23:32 +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
4a5eeaa89f Revert "Cabal version >= 2.4"
This reverts commit ad34a0b450 [formerly 2eba9b17a046bad997552b06d7198f158d570065].


Former-commit-id: 0aa5c8c19733c8b19d9432ad37eadfbbd1bfec44
2019-09-14 18:17:04 +08:00
David Himmelstrup
ad34a0b450 Cabal version >= 2.4
Former-commit-id: 2eba9b17a046bad997552b06d7198f158d570065
2019-09-14 18:01:36 +08:00
David Himmelstrup
22e2b49b62 Bump version to 0.1.6.0
Former-commit-id: 48e7b0107ee68a76d11a7e616e0000523894c4b8
2019-09-14 17:46:03 +08:00
David Himmelstrup
f36cb52074 README: better way of running examples.
Former-commit-id: 1171460679199a73f33633c29ddbd70e7bcf81c8
2019-09-14 17:37:43 +08:00