The new version ( v0.20 ) of MKI3D PWA can be used to display your mki3d designs in the browser.
You can create links on your pages that can open the MKI3D editor with loaded content.
The link consists of the address of the application 'https://mki1967.github.io/mki3d/mki3d_www/mki3d.html' with a parameter 'input' in its query string, which is an URL of the mki3d data file.
Here are some examples of links to the stages of mki3dgame directly on the GitHub:
- https://mki1967.github.io/mki3d/mki3d_www/mki3d.html?input=https://raw.githubusercontent.com/mki1967/mki3dgame/master/assets/stages/MKI3D-stage-1.mki3d
- https://mki1967.github.io/mki3d/mki3d_www/mki3d.html?input=https://raw.githubusercontent.com/mki1967/mki3dgame/master/assets/stages/stage9.mki3d
- https://mki1967.github.io/mki3d/mki3d_www/mki3d.html?input=https://raw.githubusercontent.com/mki1967/mki3dgame/master/assets/stages/cubic-stage.mki3d
If the 'input' parameter is releative URL, the MKI3D tries to append the URL base of its 'document.referrer'. ('document.referrer' is the page that contains the opening link.)
You can also specify the parameter 'base' that overrides the URL base of 'document.referrer'.
The following page contains examples of the use cases:
https://mki1967.github.io/mki3d/docs/examples/mki3d-data/test-url.html
(Note that you may need to close and reload MKI3D on-line twice or more to have the progressive app updated to the new version.)