Presumably, tho it might be a little difficult. SVGs use a lot of paths, where you specify the edges of elements. Afaik you can’t do that exact thing in CSS but you could probably split it up into a bunch of triangles. Idk how you’d want to do bezier curves tho

Mr. Satan
link
fedilink
2
edit-2
5M

Yeah, a one to one conversion might not be possible. Although this example also approximates the image by making it two tone and using simple shapes to compose more complex ones.

It still feels as a non-trivial task tho.

Create a post

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
  • 1 user online
  • 120 users / day
  • 257 users / week
  • 744 users / month
  • 3.72K users / 6 months
  • 1 subscriber
  • 1.48K Posts
  • 32.6K Comments
  • Modlog