Commit graph reanimate/examples/tut_glue_povray.hs
Author SHA1 Message Date
Mike Pilgrem
a9b9728f0f Update POV-Ray examples to avoid POV-Ray warnings
This pull request updates the POV scripts in the two POV-Ray examples to avoid the warning messages in POV-Ray 3.7 (released November 2013).

POV-Ray 3.7 requires the `version` directive.

POV-Ray 3.7 considers the `assumed_gamma` keyword to be mandatory.

POV-Ray warns when a `polygon` is not closed.

POV-Ray warns when a scaling component is omitted.
2021-10-17 10:14:51 +08:00
David Himmelstrup
0e580e0fdf
Use newest reanimate-svg. (#197) 2021-02-20 18:46:26 +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
d37e71ca94
Use V2 instead of tuples and rename 'sceneAnimation' to 'scene'. (#165) 2020-09-19 22:17:51 +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
David Himmelstrup
117179cf60
[WIP] Use hgeometry instead of custom code (#142) 2020-08-26 17:39:13 +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
2c952763a3 Fix more povray scripts. 2020-07-28 14:22:25 +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
a15b928236 Add 'here' dependency to examples where required. 2020-07-08 23:29:22 +08:00
David Himmelstrup
01baecb88b Improve and expose 'mkImage'.
Former-commit-id: eef95441c47ed3a798b1261e17b6018ea9281344
2020-05-12 13:16:16 +08:00
David Himmelstrup
fd2935c2ba Improve README examples (#68)
- Move examples higher, above any technical details.
- Use a consistent off-white background color.
- Use more interesting and less trivial examples.
- Play at 50fps rather than 25fps.
- Host offsite (imgur) as to not take up repo space.
- Link to source file for each example.

Former-commit-id: 7e62a3a1ca99e9abc5781568ff920066c94783ee
2020-05-06 19:16:25 +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
4bfafa4d8e Color-theory updates and related API changes. (#50)
Rewamp the scene api, add circle plots, add blender flips, fix caching issue in driver, fix bug in partialSvg.


Former-commit-id: 5cb900521044fee13766dd7474fd9b72c7691686
2020-02-02 09:17:29 +08:00
David Himmelstrup
f10bc16726 Clean up examples.
Former-commit-id: 03934429a7a98d8c2891452e802e348a0456886a
2019-12-09 21:00:25 +08:00
David Himmelstrup
503b7f67d4 Fix warnings.
Former-commit-id: b922c1e63b3d7d36a322f3d1ddce662c8565851f
2019-12-05 19:02:42 +08:00
David Himmelstrup
1f5ed42288 Improve povray examples.
Former-commit-id: c7d6f6ced12cc3ee017d57bfc59fb0d54a1f5093
2019-12-05 18:59:54 +08:00
David Himmelstrup
8333d3d4f1 Improve povray examples.
Former-commit-id: b1101fe5b3a7b9bec0b6b92f303d42be8114d128
2019-12-05 17:17:22 +08:00
David Himmelstrup
e87e69c5b9 Get the perspective right in povray example.
Former-commit-id: dde6365fef0939b7c703de73ee25282ecaf55344
2019-12-05 08:17:32 +08:00
David Himmelstrup
b5d0483f76 Improve povray example.
Former-commit-id: 20d7f34d60900cab9e07acd945aaf278fa2bdcd4
2019-12-04 20:35:10 +08:00
David Himmelstrup
c373deb5e2 Fix warning.
Former-commit-id: d79b54dee2afc44c86dad9347d1fa89c2143ee9b
2019-12-04 16:44:35 +08:00
David Himmelstrup
e90f93a0e2 Update tutorial.
Former-commit-id: f26d6e4164a5baf82671b8079981bfddc247a17c
2019-12-04 16:28:04 +08:00