Apples Markup Extension


(Mark Hunte) #1

I was wondering if you are able to leverage Apples Markup Extension for drawing shapes into Hype
Is this possible or a pipe dream…

Cheers


(π•„π•šπ•”π•™π•’π•–π• 𝔾𝕒𝕣𝕠𝕗𝕒𝕝𝕠) #2

I’m thinking simple SVG is the way to go. I’m not sure if Apple’s Markup Extension exports to that format. It looks like the final result is just a bitmap image.

It looks all of the common / modern web browsers support SVG.
http://caniuse.com/#feat=svg

Even better would be to closely match SVG shapes with matter.js shapes. This can be done somewhat already with the basic set of elements in Hype right now. If you want a line, just use a very narrow box.


(Mark Hunte) #3

All I really want is to be able to draw arbitrary shapes and adjust paths in them. Just thought this would be the easiest to integrate.