p5.js-web-editor
p5.js-web-editor copied to clipboard
Create floating canvas for `MobileIDEView`
Currently, the user must navigate outside of the MobileIDEView in order to render the sketch and get visual feedback from his code. This is not ideal for UX.
Create a small floating component that renders the code (probably a wrapper around SketchPreview) and place it on
Careful with how it interacts with the console: maybe switching between them is a good idea
Idea: Press+Hold Play button to trigger autorun + floating preview. Press again to hide.
The react-draggable package should come in handy