I completely agree about the pressure/subpixel aspects. Don't forget cross-platform ability too - Xournal started out as a Linux app

On 13/07/11 09:16, Felix Breuer wrote:
Hi Wouter!

To me, the key feature of Xournal has always been subpixel precision. Along with presssure sensitivity, this is what makes handwriting in Xournal readable. I cannot produce readable handwriting in any of the HTML5 sketch apps I have seen so far.

That said, I think there is great promise for an HTML5-based Journal/Sketch/Notepad app. The question is how to get the pen data (including pressure sensitivity and subpixel precision). There are two options AFAIK:

1) The Wacom Web Browser Plugin (http://www.wacomeng.com/web/index.html) <http://www.wacomeng.com/web/index.html> works reasonably well (and actually comes with a small sketch app as a demo). I have run into some trouble, though, regarding window focus, etc. and I do not know how actively Wacom maintains this plugin. Nonetheless I think this is the way to go.

2) The alternative is to hand-code bindings to e.g. the WinTab API using a foreign function interface to Javascript, such as JSctypes (https://wiki.mozilla.org/JSctypes <https://wiki.mozilla.org/JSctypes>). Of course, this would not work from within a webbrowser because of the security model, but a stand-alone app based on Xulrunner or Chromeless might work.

As you can see I have a done a bit of research on this question (see also http://www.inkcode.net) but I have not started coding any HTML5-based sketch app yet. I do plan, however, to add some basic sketch functionality to my experimental text editor Qute (http://www.inkcode.net/qute-html5) in the future. Help would be very welcome! Conversely, I would be interested in contributing to a more Xournal-like HTML5 application.

Cheers,
Felix


2011/7/12 Wouter Geelen <wouter.gee...@gmail.com <mailto:wouter.gee...@gmail.com>>

    Anyone seen this chrome experiment?

    http://www.chromeexperiments.com/detail/sketch/

    http://hakim.se/experiments/html5/sketch/

    We could use the code to port xournal to the web...

    
------------------------------------------------------------------------------
    AppSumo Presents a FREE Video for the SourceForge Community by Eric
    Ries, the creator of the Lean Startup Methodology on "Lean Startup
    Secrets Revealed." This video shows you how to validate your ideas,
    optimize your ideas and identify your business strategy.
    http://p.sf.net/sfu/appsumosfdev2dev
    _______________________________________________
    Xournal-devel mailing list
    Xournal-devel@lists.sourceforge.net
    <mailto:Xournal-devel@lists.sourceforge.net>
    https://lists.sourceforge.net/lists/listinfo/xournal-devel




--
http://www.felixbreuer.net


------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric
Ries, the creator of the Lean Startup Methodology on "Lean Startup
Secrets Revealed." This video shows you how to validate your ideas,
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev


_______________________________________________
Xournal-devel mailing list
Xournal-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xournal-devel
------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
Xournal-devel mailing list
Xournal-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xournal-devel

Reply via email to