PixelPartner / LiaScript

Interpreter for interactive educational content, written in an extended Markdown format...
https://LiaScript.github.io
0 stars 0 forks source link

Add AR functionality #5

Open PixelPartner opened 4 years ago

PixelPartner commented 4 years ago
PixelPartner commented 4 years ago

My suggested way to add AR to liaScript is to place a json multi-line code block with all needed details near a markdown link of type image or video and internally merge both for overlayed UI and the features described above.

Like so:

![AR enhanced image link](https://example.com/3dmodels/previewimage.jpg) <!-- width=80% -->
{ "usdz": "https://example.com/3dmodels/noninteractive.usdz"
, "reality": "https://example.com/3dmodels/interactive.reality"
, "model-viewer": "https://example.com/3dmodels/noninteractive.glb"
, "html": "https://example.com/3dmodels/noninteractive.html"
}