The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning. Learn more →
Top 14 Rasterizer Open-Source Projects
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
SoftGLRender
Tiny C++ Software Renderer / Rasterizer, and implements OpenGL and Vulkan renderers for comparison
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
webgpu-compute-rasterizer
A simple software rasterizer running on a WebGPU compute shader. Built for educational purposes.
-
marlin-renderer
Marlin is the FAST Java2D antialiasing rasterizer derived from OpenJDK Pisces (shape)
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
C++: How OpenGL works: software rendering in 500 lines of code
Someone could probably make an AutoCAD clone similar to this using Textual and maybe a library like https://github.com/sinclairzx81/zero
I have a small TTF implementation that's in the neighborhood of that size and is open source. It's part of my canvas_ity single-header library [0] that's around 2300 LOC / 36 KB object size and implements a C++ version of most of the 2D HTML5 canvas spec [1].
The core implementation of the TTF parsing and drawing is in L1526-L1846 with another small bit at L3205-L3274 of src/canvas_ity.hpp.
It's something of a toy implementation that only supports western left-to-right text, and doesn't do any hinting at all, nor kerning, nor shaping. But it's enough to draw a basic "Hello world!" using any typical TTF file.
The test suite in test/test.cpp L84-304 embeds a few custom Base64-encoded TTF files. They're small and only have a few glyphs but they do exercise a number of interesting edge cases in the OpenType TTF spec [2]. Have a look at the HTML5 port of the test suite at test/test.html in different browsers to see how their canvas implementations render those fonts.
[0] https://github.com/a-e-k/canvas_ity
[1] https://www.w3.org/TR/2015/REC-2dcontext-20151119/
[2] https://standards.iso.org/ittf/PubliclyAvailableStandards/c0...
OmarShehata How to Build a Compute Rasterizer with WebGPU https://github.com/OmarShehata/webgpu-compute-rasterizer/blob/main/how-to-build-a-compute-rasterizer.md Clearly I am not good enough with WebGpu to do it. Anyone interested?
Project mention: Problems with drawing fonts onto an image demonstrated with Montserrat font | /r/golang | 2023-06-28And this one which has been closed on March 28: https://github.com/goki/freetype/issues/4
Rasterizer related posts
- Building a Compute Bezier Quad Rasterizer with WebGPU
- A Programmable Markup Language for Typesetting [pdf]
- Draw 2D Text in OpenGL
- How to Build a Compute Rasterizer with WebGPU
- How to Build a Compute Rasterizer with WebGPU
- How to build a compute rasterizer with WebGPU
- Simple 3D renderer written in Rust
-
A note from our sponsor - WorkOS
workos.com | 25 Apr 2024
Index
What are some of the best open-source Rasterizer projects? This list will help you:
Project | Stars | |
---|---|---|
1 | tinyrenderer | 19,346 |
2 | zero | 2,400 |
3 | canvas | 1,422 |
4 | fontdue | 1,347 |
5 | PortableGL | 922 |
6 | SoftGLRender | 920 |
7 | ab-glyph | 326 |
8 | canvas_ity | 319 |
9 | webgpu-compute-rasterizer | 228 |
10 | CursedGL | 177 |
11 | marlin-renderer | 176 |
12 | marlin-fx | 48 |
13 | rusterizer | 44 |
14 | freetype | 13 |
Sponsored