bigpicture.js icon indicating copy to clipboard operation
bigpicture.js copied to clipboard

More whiteboard tools (SVG)

Open MzHub opened this issue 10 years ago • 6 comments

The ability to draw freehand and preset shapes (SVG) would be good for whiteboard-like use cases.

Hotkeys for different tools. Also panning could then happen with middle or right click, or something like space + drag from photoshop.

MzHub avatar Dec 12 '14 06:12 MzHub

Path simplification will be needed for freehand drawing http://paperjs.org/examples/path-simplification/

MzHub avatar Dec 12 '14 09:12 MzHub

Nice ideas @MzHub . About mouse/keyboard shortcuts : I tried several other ways in the past (such as CTRL+drag for panning, or using another way) but finally I thought panning should be as simple and as natural as possible, i.e. only click + drag, so that any new user can understand how it works, even without reading the manual.

(Using other mouse buttons might be non-natural, as right click is mostly for displaying a dropdown menu).

So we have to think on how to implement these new features.

josephernest avatar Dec 13 '14 14:12 josephernest

How do you save?

Lambo87 avatar Sep 04 '15 16:09 Lambo87

@Lambo87 it depends: if you just want a quick save feature, just serialize the whole data with localStorage, this can be done in less than 10 lines, I did it in the past but I removed it, because I wanted this repository to focus on the infinite zooming/panning display only.

If you want a more elaborated 'save' feature, you need user management, login/logout, etc. as I did for http://www.bigpicture.bi

What kind of 'save' are you interested in?

josephernest avatar Sep 06 '15 19:09 josephernest

I just wanted to save and view the saved content for personal use

Lambo87 avatar Sep 08 '15 18:09 Lambo87

Yes, but the problem is that it's impossible to easily save data on filesystem with Javascript in a browser, for historical and security reasons. It's very annoying, but it's a well known thing in web.

So the only solutions if you want to have a "save" option are :

  • setting up a webserver+database like on http://bigpicture.bi
  • or add a DOWNLOAD button that will serialize the data and allow to download it as .html for example and save it to disk ; and also add a LOAD buton that will load a .html file

On Tue, Sep 8, 2015 at 8:51 PM, LAMBO3000 [email protected] wrote:

I just wanted to save and view the saved content for personal use

— Reply to this email directly or view it on GitHub https://github.com/josephernest/bigpicture.js/issues/10#issuecomment-138668007 .

josephernest avatar Sep 08 '15 20:09 josephernest