p5.js-web-editor icon indicating copy to clipboard operation
p5.js-web-editor copied to clipboard

Create floating canvas for `MobileIDEView`

Open ghalestrilo opened this issue 5 years ago • 1 comments

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.

ghalestrilo avatar Aug 18 '20 22:08 ghalestrilo

The react-draggable package should come in handy

ghalestrilo avatar Aug 19 '20 20:08 ghalestrilo