Short Form Lizard


Photograph of a Magic: The Gathering God Pack Celebration Card.

Make Your Own God Pack Card

Wizards of the Coast announced they will be making new God Packs as a special surprise when opening booster packs. It didn't take long for folks in my circle to start making jokes and make a few quick and dirty custom edits. Friend of the blog Command Zoe mentioned looking for someone to make a generator for Commander's Herald, and luckily I saw the message and sniped the opportunity.

I decided to learn how to use the HTML canvas and iframe elements to make it work. I took a base layer of the card and blanked out all the text with solid color, and made a second image with just a transparent shiny layer. I stack the layers base > text > shine in an HTML canvas, and redraw every time the user changes the input fields. Because it's created in canvas, you can just right click and save it! Then, to upload it to Commander's Herald, I uploaded the code to a hidden extras folder on shortformlizard.com, and made a blog post with just the iframe and some styling. If you'd like, you can interact with it here :)