You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 10, 2022. It is now read-only.
Instead of embedding an iframe, generate a direct embedding. This will improve page loads, reduce flash-in and improve embed reliability, and enable offline persistence for PWAs that want it.
This solution should also allow embeds to support other languages and reduce reliance on any particular server's PythonTutor implementation.
The text was updated successfully, but these errors were encountered:
The most universal and language-independent method for doing this is to add the PythonTutor client-side JavaScript for processing PythonTutor JSON into visualizations. aegamesi/java-visualizer-intellij-plugin provides some groundwork.
Then, to make a direct embedding, the website developer runs a PythonTutor JSON generator on their local system and pastes the resulting JSON string into their document. Not the most streamlined solution but it also doesn't depend on external libraries (that wouldn't fit into the existing Jekyll workflow) to execute code and generate an execution trace.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Instead of embedding an iframe, generate a direct embedding. This will improve page loads, reduce flash-in and improve embed reliability, and enable offline persistence for PWAs that want it.
This solution should also allow embeds to support other languages and reduce reliance on any particular server's PythonTutor implementation.
The text was updated successfully, but these errors were encountered: