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
aa4656d77d
Update stylish preferences.
2020-08-27 13:42:59 +08:00
David Himmelstrup
dc54936ba4
Bunch of API documentation fixes.
2020-08-27 10:42:29 +08:00
David Himmelstrup
47ddfa6075
Add function for rendering a single frame.
2020-08-20 20:30:13 +08:00
David Himmelstrup
d3117d860d
Web-viewer: load animations with GHCi. ( #125 )
2020-08-04 09:07:54 +08:00
David Himmelstrup
f34e9810a0
Treat RasterAuto as RasterNone if it hasn't been replaced.
2020-07-30 09:06:38 +08:00
David Himmelstrup
efc209fc80
Add '--partial' flag to driver.
2020-07-09 18:22:59 +08:00
Mike Pilgrem
4b338de094
Prefer 'magick' command to 'convert', if available
...
ImageMagick version 7 provides command 'magick' (as well as legacy 'convert'), is readily available on Windows but is not, currently, readily available on Ubuntu.
On Windows, the name of ImageMagick's `convert` utility clashes with Microsoft's `C:\Windows\System32\convert.exe` utility. Using `magick`, if available, avoids the conflict.
For clarity and to be command name-agnostic, the raster option name is changed from 'convert' (the command) to 'imagemagick' (the name of the software).
For consistency with the version 7 command name, references in the code to 'convert' are changed to 'magick', throughout.
2020-07-07 09:02:17 +08:00
David Himmelstrup
3e3212d3f6
Reduce test fidelity from 50 frames to 10 frames.
...
Former-commit-id: d47a8a4d3f2b650927999fe10d6eddbb8e3da8fb
2020-06-24 22:36:56 +08:00
David Himmelstrup
c45ba63e6c
Fix hlint warnings.
...
Former-commit-id: 52195739a549add620d2fa274a43a689583b984f
2020-06-18 15:46:53 +08:00
David Himmelstrup
aed640c87a
Restrict imports.
...
Former-commit-id: b7f7b209a41337564f5b5d2db307713937d8f15a
2020-06-13 13:03:48 +08:00
David Himmelstrup
c51ce27888
Use ansi-terminal instead of ansi-wl-pprint. Fix race condition during ffmpeg progress printing.
...
Former-commit-id: 748e8867580c1a172754cc55875d3b2e19e1d683
2020-06-13 12:34:48 +08:00
David Himmelstrup
e63f28f82f
Rename 'cacheSvg' to 'prerenderSvg', remove dead code, code clean up.
...
Former-commit-id: be6df5a9574d9021c4dccbf469f18908043d576f
2020-06-04 18:47:51 +08:00
David Himmelstrup
6e53e55de4
Fix bug related to GIF resolution.
...
Former-commit-id: e17f87f6b21d8239f5867c4f95120ff3ab6f4ee8
2020-05-14 10:06:06 +08:00
David Himmelstrup
01baecb88b
Improve and expose 'mkImage'.
...
Former-commit-id: eef95441c47ed3a798b1261e17b6018ea9281344
2020-05-12 13:16:16 +08:00
David Himmelstrup
6608fb7410
Feature mapviz ( #61 )
...
* Fix framerate issue for gifs.
* Fix aeson version on lts-11
* Improve transformation performance.
* Vastly improve performance for SVG serialization.
* Improve geo projection performance.
* Add reference to cartogram program.
* Add rasterSized function.
* Better clippaths.
* Use newer reanimate-svg package.
* Show time spent and time remaining when rendering.
* Support external images and multiple rasters.
* Improve performance of bounding box calculations.
* Evict macos cache.
Former-commit-id: 3eb65d85fc2bb7dd9d67486d2da34d024767717d
2020-03-15 19:35:07 +08:00
David Himmelstrup
458da0f2ec
Country distortion video ( #54 )
...
* Support GeoJSON.
* Fix framerate issue for gifs.
* Vastly improve performance for SVG serialization.
Former-commit-id: b0dbb06b8810d56aa993d7138dd97c9e514db2e3
2020-02-20 21:22:36 +08:00
David Himmelstrup
b466bcc6be
Misc cleanup. ( #55 )
...
Former-commit-id: 8490a1405235c3902e8bca9d7fc2f6845b287d19
2020-02-20 16:34:52 +08:00
David Himmelstrup
6d4a07069b
Feature colortheory ( #57 )
...
* Add 'lastA' combinator.
* Add 'mapT' combinator.
* Support multiple raster engines.
Former-commit-id: 2d314548528abd02e79c82557a107a303a836178
2020-02-19 20:26:52 +08:00
David Himmelstrup
2df8eda745
Add ctrl-c handler to the renderer. ( #56 )
...
Former-commit-id: a2a5146eda2277846d207dea91bd8ea39282ad26
2020-02-19 19:08:43 +08:00
David Himmelstrup
cbfb95f9be
Geo projections ( #52 )
...
Former-commit-id: bc6475b83149db308bf541f1a49b6a8e67729a81
2020-02-11 19:10:45 +08:00
David Himmelstrup
ff87896f2d
Update doc_xyzComponent golden file. Improve scene functions used by the color-theory animation.
...
Former-commit-id: 519931120215ee7c35ac4bb83ab0a2288e2af4c8
2019-12-19 18:31:39 +08:00
David Himmelstrup
b135a97811
Improve error reporting.
...
Former-commit-id: 4828974221a0017e68d7f151f20ad41e2b32df11
2019-12-10 19:55:39 +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
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
1b17180569
Add testsuite.
...
Former-commit-id: bc34312dfef68bc81fc1257970786ea7b23ee99b
2019-09-09 19:10:31 +08:00
David Himmelstrup
29de809304
Generate frames to incrementally increase fps.
...
Former-commit-id: ff8524fa6002630df118792d8e8af0e8fe5fb51d
2019-09-08 16:03:47 +08:00
David Himmelstrup
5429039480
Use concurrency rather than parallelism when rendering.
...
Former-commit-id: b76179e03b2210dc80a25389a3dfd9f92b1e66e9
2019-09-08 13:32:58 +08:00
David Himmelstrup
23148300b1
Remove examples.
...
Former-commit-id: 33bb5eab14656cd35db658997d967f50a77fffe1
2019-08-09 11:50:44 +08:00
David Himmelstrup
f01f6adb34
Add 'render' command to the driver and default to 1440p.
...
Former-commit-id: 9f0b936ab9938ba20cb0b49bc0c6743aa20b77a8
2019-07-06 22:35:39 +08:00
David
870cd72645
Tangent example.
...
Former-commit-id: d7d41d0150b516dc77ac487a7f92a8afc3a92cb2
2019-03-22 19:21:58 +01:00
David
a4121d01d9
Better caching, bundle viewer.
...
Former-commit-id: cacfc7fd5402fadd381d16c748cdfdbf97a63cd9
2019-03-08 16:36:25 +01:00
David
c07f4c18ae
Local web viewer.
...
Former-commit-id: a5e99d454a2e44b32a31f57e62764322f7196032
2019-03-08 10:37:15 +01:00
David
a18576b2bd
Wibbles.
...
Former-commit-id: 7d2a6e17bdcf21a007335dcaa50b3a0b8bd10ec5
2019-03-07 14:42:27 +01:00
David
b9916fbd9f
Generate movies with correct aspect ratio.
...
Former-commit-id: 787ede131ad6b24833410f23382d03825d04733c
2019-03-05 19:38:24 +01:00
David
5cbffbe2e4
Switch from svg-tree to reanimate-svg.
...
Former-commit-id: 0b46ed1c6f1319e30bfe3b0d8ae3abcc7962ee5b
2019-03-03 16:17:30 +01:00
David
a1b9b42a91
Support diagrams.
...
Former-commit-id: 94e65d8cf820f1a60b9ac0bdf897495e1c58e80d
2019-03-03 16:09:59 +01:00
David
9707cca88b
Switch to a monadic API.
...
Former-commit-id: 0c2706be2b4cf0a92a46f000cbd1da620f86a2e1
2019-02-28 10:39:12 +01:00
David
cb1cbf4d1c
Improve the web-viewer.
...
Former-commit-id: 2b6f3e2307214cc2de76e2bae2f3df21370c4464
2019-02-27 10:06:38 +01:00
David
569d054a8d
Move shared tools to a separate module.
...
Former-commit-id: 0fd4d5105eac72c3b2f20c4db0156eff97ef4900
2019-02-16 11:41:25 +01:00
David
2887c5152b
Clean up renderer.
...
Former-commit-id: 55a57e4873f3207f6d09e812c4801b7a5efa696a
2019-02-16 11:32:51 +01:00
David
5d35785d88
Use two-pass GIF creation.
...
This reduces file size by about 50% and increases quality.
Former-commit-id: c185c3d43439fff99734def01773e28f4570a457
2019-02-14 20:35:50 +01:00
David
ef0682a929
Add valentine's day gif.
...
Former-commit-id: 443e37d9c075492f815c467767bbef630c2b3728
2019-02-14 20:07:45 +01:00
David
101400adaf
Refactor arrow API.
2019-02-14 10:37:23 +01:00
David
00e40e2b97
Add rendering function for gifs.
2019-02-13 21:41:41 +01:00
David
ac09dc8932
First stab at reanimate.
2019-02-13 21:08:49 +01:00