danchitnis / webgl-plot

A high-Performance real-time 2D plotting library based on native WebGL
https://danchitnis.github.io/webgl-plot-examples/vanilla/
MIT License
527 stars 29 forks source link

axis and text #61

Closed danchitnis closed 3 years ago

danchitnis commented 3 years ago

What about displaying axis text, e.g. on the axes ticks? Thanks!

Originally posted by @federicomassa in https://github.com/danchitnis/webgl-plot/issues/55#issuecomment-831308574

danchitnis commented 3 years ago

@federicomassa I have already implemented some aspect in EEsim. I have implemented the axis and text in canvas rather than webgl since it is easier to customize.

I will add an easy to understand example to the webgl-plot examples in the next week or two.

federicomassa commented 3 years ago

That'd be great! Thanks

On Mon, 3 May 2021, 18:04 Danial Chitnis, @.***> wrote:

@federicomassa https://github.com/federicomassa I have already implemented some aspect in EEsim https://eesim.dev. I have implemented the axis and text in canvas rather than webgl since it is easier to customize.

I will add an easy to understand example to the webgl-plot examples https://danchitnis.github.io/webgl-plot-examples/vanilla/ in the next week or two.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/danchitnis/webgl-plot/issues/61#issuecomment-831362408, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB3RUWPN24CQZKWH3R7CH3TTL3CPHANCNFSM44BCDWNA .

danchitnis commented 3 years ago

I have implemented a basic axis example. I will improve it over time.

federicomassa commented 3 years ago

Much appreciated, thanks!

On Sat, 8 May 2021, 18:46 Danial Chitnis, @.***> wrote:

I have implemented a basic axis example https://danchitnis.github.io/webgl-plot-examples/vanilla/axis.html. I will improve it over time.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/danchitnis/webgl-plot/issues/61#issuecomment-835425826, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB3RUWKB7VLNGLT3ZPPMFTDTMVTHRANCNFSM44BCDWNA .