mcc

glitch girl

Avatar by @girlfiend

Also on Bluesky
Also on Mastodon.


elliotherriman
@elliotherriman
explanation + credits with apologies to @staff, i put bitsy on cohost

(i don't think it works on mobile, sorry!)

this was created using two svg files. one is simply a button, which contains a link to the other svg (that's positioned right behind it). this was achieved by uploading both images as drafts, and then grabbing their links

the second svg contains a bitsy game, which is fully interactable. svg files can run javascript, but not inline — in other words, the game only runs once the button opens it in a new window. as a side effect of this, the game-image would ordinarily be blank before launching... so i cheated it. what you're seeing on your dashboard is simply a screenshot of the game that i put inside the svg, and clear as soon as javascript runs

thanks to @ticky for inspiring this, and @nex3 for creating an eggbug svg! and thanks to adam ledoux for creating bitsy, as well as sean s. leblanc for his many hacks


mcc
@mcc

But it's also the case it caused me to drop everything and spend awhile testing Cohost's CORS policies in a state of serious apprehension


You must log in to comment.

in reply to @elliotherriman's post:

So these are the "Crimes against Websites" they are talking about on Twitter. Forcing 2000 Lines of javascript inside an SVG. 10/10 best Social Media Experience yet. Keep up the good work👍👍👍👍

in reply to @mcc's post: