News for hackers. Stuff that matters.
Re:Rasterizer: A GPU-accelerated 2D vector graphics engine i... by mindbrix on Friday September 05, 2025 @03:42AM (#45135995)
None of that yet. The underlying SVG library, nanosvg, is very simple with no text support.

The first priority was to solve paths to pixels efficiently, including text (50,000 glyphs @ 60fps).

Gradients will be added when time allows, as I have code from a previous engine.

The coverage algorithm can be extended to support cheap box blurs, which could be used for drop shadows.

Re:Rasterizer: A GPU-accelerated 2D vector graphics engine i... by Fraterkes on Friday September 05, 2025 @05:01AM (#45136482)
Ah ok cool! So what path to this being used in applications do you have in mind? Are you hoping to implement a decent part of the spec in the coming years? Do you have a rough timeline?
Re:Rasterizer: A GPU-accelerated 2D vector graphics engine i... by mindbrix on Friday September 05, 2025 @07:21AM (#45137307)
Rasterizer excels at animation and complex scenes, e.g. 2D CAD documents. The original inspiration was Flash, as I love innovative design tools. Flash 1.0 could easily be used by designers, but ultimately lost its way became a coder's toy after the Adobe acquisition and ActionScript 2.0.

Fleshing out the spec is planned, but I cannot provide a timeline as this has all been done at my own considerable expense. Maybe if my tips grow: https://paypal.me/mindbrix