On Tuesday, May 26, 2020 at 7:13:38 AM UTC+2, Tony K wrote:
 

> https://github.com/felixhayashi/TW5-Vis.js is a "conversion" or "port" or 
> whatever you wanna call it of vis.js to TW
>

Not a conversion, nor a port. ... Most of the time we only need a small 
"wrapper" function, that makes a TW plugin out of a  3rd party library.

For most libraries, that implement a common-js interface, which uses 
"export" to make library functions available, it is relatively easy to 
create a TW plugin. TW also uses a common-js like interface, that works 
with node.js _and_ the browser at the same time.

It seems pixi does "export" its functions. .. But it would need more tests. 

BUT Importing a 3rd party library is only the 1st part of the work to do. 
... You'll need to make the functions available for TW users and yourself. 
So most of the time this needs to create TW widgets. 
 

> I'd like to do the save for pixi.js https://github.com/pixijs 
> <https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fpixijs&sa=D&sntz=1&usg=AFQjCNFyVbWyfad40Zx4qwMvcRcl6B1RYA>
>

As written above. It depends which functionality from pixi you want to use.

Learning pixi page has 43 headlines. 
https://github.com/kittykatattack/learningPixi 

So imo it depends on your usecase, which functions you really need. 

-mario

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0d07c980-5287-4c71-8bea-ed0c4d1eb466%40googlegroups.com.

Reply via email to