←back to thread

168 points mindbrix | 4 comments | | HN request time: 0.854s | source
Show context
mindbrix ◴[] No.45090554[source]
I've been working on this problem on and off for over 10 years.

AMA ;-)

replies(10): >>45135183 #>>45135904 #>>45136129 #>>45136397 #>>45136649 #>>45137089 #>>45137395 #>>45138275 #>>45138939 #>>45140931 #
1. Fraterkes ◴[] No.45135904[source]
So what part of the SVG-spec does this implement? Does it support text? Gradients? Filters like blur and dropshadow?
replies(1): >>45135995 #
2. mindbrix ◴[] No.45135995[source]
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.

replies(1): >>45136482 #
3. Fraterkes ◴[] No.45136482[source]
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?
replies(1): >>45137307 #
4. mindbrix ◴[] No.45137307{3}[source]
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