Live data from Hacker News

Show HN: ChartGPU – WebGPU-powered charting library (1M points at 60fps)

github.com

21–30 of 226 posts

Re: Show HN: ChartGPU – WebGPU-powered charting library (1M points at 60fps)

#21

Both a .cursor AND a .claude folder, what a yikes. Slop post galore

Why don't you judge the results, if the slop is so easy to detect, instead of using the mere indication of a particular tool to mean it's slop? Lazy.

Re: Show HN: ChartGPU – WebGPU-powered charting library (1M points at 60fps)

#22

When did WebGPU become good enough at compute shaders? When I tried and failed at digging through the spec about a year ago it was very touch and go. Maybe am just bad at reading specifications or finding the right web browser.

In Chromium it's been good for a good while, judges still out on when it'll be good in Firefox. Safari I have no clue about, nor whatever Microsoft calls their browser today.

Re: Show HN: ChartGPU – WebGPU-powered charting library (1M points at 60fps)

#24

Both a .cursor AND a .claude folder, what a yikes. Slop post galore

Why don't you judge the results, if the slop is so easy to detect, instead of using the mere indication of a particular tool to mean it's slop? Lazy.

Because it is not reasonable to expend high effort to verify something that took no effort to create. That is not a workable long term solution. Instead you have to rely on low effort signals to signify if something is WORTH expending energy on.

Re: Show HN: ChartGPU – WebGPU-powered charting library (1M points at 60fps)

#25
post #4

This looks great. Quick feedback, scrollbars don't work well on my mac mini M1. The bar seems to move twice as fast as the mouse.

Thanks for the bug report! That's the data zoom slider - sounds like a momentum/inertia scrolling issue on macOS. Which demo were you on? (million-points, live-streaming, or sampling?) I'll test on M1 today and get a fix out. Really appreciate you taking the time to try it :)

Same issue on Windows - doesn't seem to be OS-related, but a general problem. The sliders and the zoom are basically unusable.

Re: Show HN: ChartGPU – WebGPU-powered charting library (1M points at 60fps)

#26
post #4

This looks great. Quick feedback, scrollbars don't work well on my mac mini M1. The bar seems to move twice as fast as the mouse.

Thanks for the bug report! That's the data zoom slider - sounds like a momentum/inertia scrolling issue on macOS. Which demo were you on? (million-points, live-streaming, or sampling?) I'll test on M1 today and get a fix out. Really appreciate you taking the time to try it :)

On windows 10, too. Firefox 147.0.1 (You may want to update your "supported" chart! Firefox has WebGPU now)

Re: Show HN: ChartGPU – WebGPU-powered charting library (1M points at 60fps)

#27

Cool to see that this project started 5 days ago! Unfortunately, I can not make it work on my system (Ubuntu, chrome, WebGPU enabled as described in the documentation). On the other hand, It works on my Android phone... Funny enough, I am doing something very similar: a C++ portable (Windows, Linux MacOS) charting library, that also compile to WASM and runs in the browser... I am still at day 2, so see you in 3 days,…

I was able to make WebGPU work (and work well!) in Chrome Linux by enabling Vulkan renderer in Chrome flags.
Post reply on HN