GithubHelp home page GithubHelp logo

SVG Rendering about openrndr HOT 4 CLOSED

openrndr avatar openrndr commented on May 17, 2024 2
SVG Rendering

from openrndr.

Comments (4)

hamoid avatar hamoid commented on May 17, 2024 2

Maybe a good start could be to add links and information here as comments? For example links showing what is currently implemented, what is missing from the 'tiny' profile, how large is the 'full' profile... I believe one thing currently missing is text rendering. I think so far you @ryanbateman, @ricardomatias, @Yvee1 and I @hamoid have made small contributions to the SVG area.

Are these the right specs of SVG Tiny?
https://www.w3.org/TR/SVGTiny12/single-page.html

from openrndr.

hamoid avatar hamoid commented on May 17, 2024 1

See #227 (Greatly improve SVG support)

from openrndr.

Yvee1 avatar Yvee1 commented on May 17, 2024

I've worked on parsing a list of transforms in #178, and I think that that works now and is complete (at least the 2D transformations, not the 3D ones, I used this mozilla page as reference), but I haven't tested it much.

Some missing things I've encountered with the svg reader so far are:

  1. Parsing styles in group nodes. E.g. the svg of the greek delta that I put in the tests (link) has a white rectangle as background, but this is parsed/drawn by openrndr as a black rectangle currently. So I think style="fill:white; stroke:white" is not parsed or used.
  2. I also think documentBounds is never assigned anything other than the default value. But I discovered there's also root.bounds which is probably what you want in most cases

from openrndr.

hamoid avatar hamoid commented on May 17, 2024

Related issue: #131 (Add support to viewBox attribute)

from openrndr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.