https://github.com/lancelet/raindrop
2D renderer
https://github.com/lancelet/raindrop
2d canvas graphics haskell renderer
Last synced: 3 months ago
JSON representation
2D renderer
- Host: GitHub
- URL: https://github.com/lancelet/raindrop
- Owner: lancelet
- Created: 2019-07-11T07:35:13.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-06-14T07:16:52.000Z (almost 5 years ago)
- Last Synced: 2025-01-13T21:27:25.693Z (4 months ago)
- Topics: 2d, canvas, graphics, haskell, renderer
- Language: Haskell
- Homepage:
- Size: 83 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
========
Raindrop
========.. image:: https://travis-ci.org/lancelet/raindrop.svg?branch=master
:target: https://travis-ci.org/lancelet/raindrop
.. image:: https://coveralls.io/repos/github/lancelet/raindrop/badge.svg?branch=master
:target: https://coveralls.io/github/lancelet/raindrop?branch=masterRaindrop is a 2D renderer. It uses a signed-area scanline rasterization
algorithm, similar to the algorithm used by `Pathfinder 3`_... _Pathfinder 3: https://github.com/servo/pathfinder
Approximate TODO list
=====================- [X] Tile-based alpha stencil rendering.
- [ ] Converting paths to tiles.
- [ ] Tile filling.
- [ ] Stroking paths.Background reading
==================The following articles provide useful background documentation:
- `stb_truetype v2`_ describes the signed-area alpha stencil rendering algorithm
that is generally credited to Raph Levien in the `libart` library.
- `A look at Pathfinder`_ describes the higher-level tiling that Pathfinder uses
to identify fully-filled tiles and re-caps the signed-area approach... _stb_truetype v2: https://nothings.org/gamedev/rasterize/
.. _A look at Pathfinder: https://nical.github.io/posts/a-look-at-pathfinder.html