Login
You're viewing the ruby.social public feed.
  • Nov 13, 2022, 3:17 PM

    Instead of div tags to group bits of an html document you have g or group tags. This is almost always just an ease of use thing rather than actually meaning anything in the picture. You can apply transformations and styles at the group level though to make your life easier. "rotate all of these things by 60 degrees" or "make all the lines red and fill with green"

    💬 1🔄 0⭐ 0

Replies

  • Nov 13, 2022, 3:23 PM

    Where the svg language gets away from xml is in the definitions of paths and lines. Paths are a series of points joined by lines or curves. Once you start to deal with curves in computers things start to get complex. Mathimatically there are a bunch of different ways to define curves. Some based on circles, some based on bezier curves, which a bunch of helpful shortcuts.

    If you want to know more Mozilla's documentation on SVG's is excellent.

    developer.mozilla.org/en-US/do

    💬 2🔄 0⭐ 0