anvaka / ngraph.pixi

PIXI.js graph renderer
MIT License
26 stars 16 forks source link

Proposal version 0.0.6 #8

Open vincenzopalazzo opened 4 years ago

vincenzopalazzo commented 4 years ago

Hi @anvaka,

I'm working to learning javascript and I'm working with ngraph modules.

I have added this feature:

the demo is avaible here

gg4u commented 4 years ago

Hi @vincenzopalazzo ! nice to meet you, me as well learnt a bit of JS with the library of @anvaka. A thing I was not fully satisfied with my work on pixi.js was antialiising of text. I saw you maybe had issues too on the graph demo. How did you handle them ?nice too meet you Im Italian as well. Who knows we might meet.. (not in this month likely.. hu! :)

vincenzopalazzo commented 4 years ago

HI @gg4u, nice to meet you, the antialiasing problem was resolved inside this PR https://github.com/anvaka/ngraph.pixi/pull/7 and you can able to set the personal setting inside your javascript program, the code like this:

https://github.com/vincenzopalazzo/ngraph.pixi/blob/8134065eb9e8c790c1c647ab457d829b15a6ed4d/example/index.js#L12-L22

I hope this comment helped you.

Have a good day.

gg4u commented 4 years ago

hi @vincenzopalazzo - I was able to achieve this results with antialiasing on text:

Screen Shot 2020-04-05 at 10 03 01 PM

it is good, but when I resize it (zoom out), it is a so so result in my opinion:

Screen Shot 2020-04-05 at 10 03 23 PM

Where you able to achieve better results for antialiaisng on text using webgl / pixi ? Or other webgl ?

vincenzopalazzo commented 4 years ago

Hi @gg4u,

Dove sei in grado di ottenere risultati migliori per l'antialiaisng sul testo usando webgl / pixi? O altri webgl?

I don't understand your question.

But I think if you have a problem you can try to create a minimal example reproducible and push it inside StackOverflow.

I'm active on the stack overflow and also anvaka.

This is only a PR, it is a wrong place to talking about a problem with the library