logicemu icon indicating copy to clipboard operation
logicemu copied to clipboard

Feature request: embeddable/web page plugin

Open dragoncoder047 opened this issue 3 years ago • 1 comments

Would it be possible to use logicemu as a plugin for a web page, to embed interactive logic circuits between paragraphs on a site?

I think this could be accomplished through a special URL with parameters to control everything the buttons toolbar normally would, such as https://lodev.org/logicemu/embed?source=<base64 encoded source file>&theme=<some theme>&autostart=true&speed=fast&render=graphical that could be embedded in an iframe. There could also be a link for 'open in logicemu' that opens to the full-page app that already exists.

If CORS issues get in the way then an idea is a replacement main.js that instead of rendering in the <body>, only renders in marked <div>s which contain the source.

dragoncoder047 avatar Mar 05 '22 21:03 dragoncoder047

Sorry -- probably a duplicate of #2 -- but I'd like to share the ideas

dragoncoder047 avatar Mar 05 '22 21:03 dragoncoder047