▲ | whyandgrowth 2 days ago | |||||||
Wow, I didn't know SVG was capable of that, the website looks like a HTML/CSS site from the 2000s, but it's still cool. | ||||||||
▲ | OneDeuxTriSeiGo 2 days ago | parent | next [-] | |||||||
Yeah this is a big part of the reason SVGs are dangerous if treated like normal image files. They are basically equivalent to HTML w/ embedded CSS and can even execute javascript. If you aren't careful they can be used for XSS and all kinds of nasty stuff. They are also super useful in general though despite that. | ||||||||
▲ | ninetyninenine 2 days ago | parent | prev | next [-] | |||||||
Svgs are capable of anything. You can draw anything with it as it’s just a format for vector graphics. The vectors can be manipulated so you can even make a 3D game engine from it if you wanted. The only thing that separates it from html and css is that html and css biases towards website styled stuff. HTML is designed for text boxes and that kind of stuff while svgs bias more towards a neutral drawing medium: shapes and vectors. So because it’s more neutral you can even make a html engine from svg if you so wanted. | ||||||||
▲ | Telemakhos 2 days ago | parent | prev | next [-] | |||||||
There were some tools that let you do a lot of flash-type things using html5 and svg. I used Tumult Hype for an animation project a few years ago, but I don't think it ever became as popular as Flash. | ||||||||
▲ | panny 2 days ago | parent | prev [-] | |||||||
Now right click it and view source. SVG is just markup, same as HTML. | ||||||||
|