4 ms·
Is there a vector-graphics language that similar to CSS in capabilities and expressive power, but with a more approachable syntax? I think it's very cool when
by DenisM 14y ago
Is there a vector-graphics language that similar to CSS in capabilities and expressive power, but with a more approachable syntax?
I think it's very cool when an image is created in essence programmatically, this really speaks to me as a developer, and I certainly appreciate the declarative nature of CSS, but I wish for something that is easier to read, and so easier to maintain over time, including source control with branches/merges etc. An added bonus to such language would be ability to compile it down to CSS, or Objective-C/UIKit, or C#/Windows, or simply render it to static bitmaps...
As someone who doesn't know CSS, I see it similar to the way I see PERL - you can do cool things, but I wouldn't know where to start if I had to change anything, except by trying all things at random.
- duopixel 14y agoSVG sounds pretty much like what you're looking for. Single element CSS hacks like this are impressive demonstrations of technical knowledge, but it was never meant to be used like this.
- lbotos 14y agoSVG also has "up and coming" full support in most browsers and you can use compatibility wrappers such as http://raphaeljs.com/ http://raphaeljs.com/
- DenisM 14y agoThanks, this might be it. iOS library: https://github.com/adamgit/SVGKit/tree/transforms https://github.com/adamgit/SVGKit/tree/transforms