Page 1 of 1

Graphical plugins?

PostPosted: Tue Jan 05, 2016 10:13 am
by HPW
Hello,

I understand to use the plugin Generator to make a code-plugin to wrap JavaScript-code into neoscript.
But is there a conzept/plan to make graphical plugins like I can do it with neobook5 SDK ?
Would we use a placeholder-object like neobook's rectangle object in the editor to replace it on runtime with other kind of objects?
So can a plugin-author provide new objects which are not supported by neoAppBuilder?

Regards

Re: Graphical plugins?

PostPosted: Tue Jan 05, 2016 12:23 pm
by Gaev
Hans-Peter:

Would we use a placeholder-object like neobook's rectangle object in the editor to replace it on runtime with other kind of objects?
So can a plugin-author provide new objects which are not supported by neoAppBuilder?

Since you can use Javascript to create an element, give it style (css) and define event handlers, could you not build a plug-in that is called (say in the Page Enter section) with a reference to the target element (which would act as the container for your graphical/other element.

Re: Graphical plugins?

PostPosted: Tue Jan 05, 2016 7:40 pm
by Neosoft Support
Yes, there are plans to provide a method for adding new objects via plugins.

Re: Graphical plugins?

PostPosted: Wed Jan 06, 2016 12:26 am
by luishp
Regarding graphics I am currently doing some experiments with the <canva> HTML5 tag and Fabric.js library (http://fabricjs.com)
I have had success inserting new objects. Perhaps I will try to develop a Plugin as a wrap to this library as it seems quite useful.

Re: Graphical plugins?

PostPosted: Wed Jan 06, 2016 8:39 pm
by Neosoft Support
Fabric.js looks really interesting.

Re: Graphical plugins?

PostPosted: Thu Jan 07, 2016 4:47 am
by HPW
Yes, looks interesting. There are several js-libs wrappers for canvas.

Another one: http://projects.calebevans.me/jcanvas/

Regards

Re: Graphical plugins?

PostPosted: Thu Jan 07, 2016 7:32 am
by HPW
Hello,

A nice articel about comparing a few vector-libs:

https://www.smashingmagazine.com/2012/0 ... g-raphael/

http://zgrossbart.github.io/3gears/

Regards

Re: Graphical plugins?

PostPosted: Thu Jan 07, 2016 2:55 pm
by Gaev
In addition to ...

http://fabricjs.com/ ... identified by luishp
http://projects.calebevans.me/jcanvas/ ... identified by Hans-Peter

... my bookmarked collection of components available in this category are ...

http://createjs.com/easeljs
http://www.svidget.com/
http://svgjs.com/
http://konvajs.github.io/
http://tympanus.net/Tutorials/AnimatedTextFills/
http://alexk111.github.io/SVG-Morpheus/
http://creativefan.com/20-shockingly-co ... lications/
http://html5gallery.com/tag/canvas/page/5/
http://www.queness.com/post/3885/8-simp ... animations

... and for those wanting to learn the raw basics ...

http://www.html5canvastutorials.com/
http://www.w3schools.com/html/html5_canvas.asp

... this collection, along with my previously posted (Bootstrap) collection here ... viewtopic.php?f=38&t=21350&p=11218817#p11218817 ... might be best saved in a subForum of its own ... so we can all share our known "goodies" that can be incorporated into NAB ... either hand-crafted or via Plugins developed for them.