grafica.js icon indicating copy to clipboard operation
grafica.js copied to clipboard

some suggestions for improvement

Open J2thearo opened this issue 5 years ago • 2 comments

Hello jagracar,

first of all, thank you for this wonderful library. I really appreciate your work and hope that you will continue to develop it. I have often used it for my p5.js-projects and would like to continue doing so in the future. If you want, I can also show you some of my work.

While working with the library I noticed some weak spots and I mainly wanted to ask if you still support grafica.js. If so, I would give you all the details and if not, then excuse the disturbance.

I would be very happy to hear from you. Regards, Jaro

J2thearo avatar Apr 18 '20 12:04 J2thearo

Hi! Thank you for using the lib. And yes, I would love to see what you did with it :)

I still support the lib in a bug fixing mode. If there is a critical bug affecting it, I try to fix it as soon as possible. Unfortunately I don't have much time to add new features and my javascript has become a bit rusty, since I don't use it for my daily work. I still need to learn TypeScript!

But if you have suggestions, please create issues for them and I will try to add them to the lib if they are easy to solve.

Cheers!

jagracar avatar Apr 27 '20 11:04 jagracar

Hello jagracar,

grafica.js is a real jewel among the p5 libraries because it is very difficult to find a good chart / plot tool. I would be very happy if you check out one of my projects. It is built from p5.js, math.js, mathlive.js and grafica.js

https://j2thearo.github.io/differential/

Especially when zooming, there is still room for improvement. If you zoom in the animation, the grid jumps around like crazy. I think it is due to the ticks of the axes, since it is not fixed on whole numbers. I have tried everything possible to fix this behavior, but I think an upgrade to grafica.js needs to be made. I hope you understand what i mean. It would be much more pleasant if the grid remained fixed at certain values and the ticks stayed within them.

Thanks again for this awesome library and TypeScript rocks!

Cheers!

J2thearo avatar Apr 29 '20 12:04 J2thearo