Hi Martin, FYI, I put the brushlib in javascript and myb to json converter to https://github.com/yapcheahshen/brushlib.js
I also update the online demo which can now load different brush and change color. http://69.163.40.159/mypaint/brushlib/javascript/ regards, yap 2011/9/28 Yap <[email protected]> > Hi Martin, > > 2011/9/28 Martin Renold <[email protected]> > >> hi yap >> >> On Tue, Sep 27, 2011 at 12:19:51PM +0800, Yap wrote: >> > I just finished javascript version of brushlib, >> > if you think it is useful, >> > please guide me how to contribute to the repository. >> > >> > http://69.163.40.159/mypaint/brushlib/javascript/ ( tested with Google >> > Chrome 13 and Firefox 4 ) >> > this demo works better with wacom plugin: >> > http://www.wacom.com/CustomerCare/Plugin.aspx >> >> Very interesting! I didn't think this was possible. >> >> It did draw nothing for me at first, in both iceweasel and chromium, but I >> did hardcode "pressure = 0.8" in index.html and now I can paint. >> > > I changed it to 0.8 , > Did you test it with a wacom tablet ? > > >> Side note: I would have used json for the .myb brush settings in the first >> place, if I had known about it when I started mypaint. Maybe it's still >> not >> too late to switch? >> > > I wrote a myb to JSON format converter in Pascal. > I will put it on my own repository too as you suggested. > > >> >> If you want to share the code with other developers, I suggest you upload >> it >> into your own repository (I personally like gitorious or github for this), >> and link it from the Brushlib wiki page. I have already made a link to >> your current page. >> >> It doesn't quite fit into the mypaint repository IMO, because only the GTK >> application is really maintained there. >> >> But could you please add the brushlib copyright and license? There are >> not >> many conditions that you have to follow, but with all due respect: writing >> "Licence: BSD-Like" is not good enough. >> > > I put your the original information in front. > http://69.163.40.159/mypaint/brushlib/javascript/mybrush.js > > regards, > yap > >> >> Let me quote the full conditions: >> >> """ >> Permission to use, copy, modify, and/or distribute this software for any >> purpose with or without fee is hereby granted, provided that the above >> copyright notice and this permission notice appear in all copies. >> """ >> >> You can add your own copyright, you can put text above it, you can make >> additional license terms, whatever you want. But please keep the original >> in place. That's not too much to ask for, is it? >> >> Cheers >> Martin >> >> On Tue, Sep 27, 2011 at 12:19:51PM +0800, Yap wrote: >> > Hi, >> > >> > I just finished javascript version of brushlib, >> > if you think it is useful, >> > please guide me how to contribute to the repository. >> > >> > http://69.163.40.159/mypaint/brushlib/javascript/ ( tested with Google >> > Chrome 13 and Firefox 4 ) >> > this demo works better with wacom plugin: >> > http://www.wacom.com/CustomerCare/Plugin.aspx >> > >> > regards, >> > yap >> >> -- >> Martin Renold >> > >
_______________________________________________ Mypaint-discuss mailing list [email protected] https://mail.gna.org/listinfo/mypaint-discuss
