6 Replies
Using a pure solution* (Not 3rd party libraries)
Do we use canvas or WebGL or something like that?
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
pure solution? that is a big ask. There is a reason why these kind of libraries exist. A lot of calculations going on (including trigonometry)
"Pure" solution? The
canvas
element. No need for WebGL for a one-dimensional line. Then you'd use the context drawing methods to actually draw the line.
But like Mark said, 3rd party libs exist to abstract away the minutia of drawing the lines and making the curves look good.coding train does a lot of data visualization on canvas. If you are really interested, you should check out his youtube
Thanks guys! 🙂