uPlot
BezierInfo-2
Our great sponsors
uPlot | BezierInfo-2 | |
---|---|---|
18 | 20 | |
8,452 | 2,266 | |
- | - | |
8.5 | 5.0 | |
26 days ago | about 2 months ago | |
JavaScript | HTML | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
uPlot
- Small and fast 2D canvas chart for time series, lines, areas and bars
-
Rendering data that changes very frequently
Here is a very efficient 2D canvas lib that is extremely efficient https://github.com/leeoniya/uPlot i recommend looking through their readme and seeing if it solves your current problems.
- Graphing Libraries that are as good as Excel?
-
Show HN: Inflation-adjusted stock charts â Total Real Returns
BACKEND:
It's about 3000 lines of Crystal code https://crystal-lang.org/ -- it's been an absolute dream to program in. Ruby-like syntax, statically compiled performance. Nice standard library. Would recommend :)
Performance == caching
Local ephemeral filesystem for shortest-term caching.
Redis for shared medium-term caching and locking.
S3-compatible object storage for longest-term caching (for raw data feeds pulled every evening by a cronjob).
FRONTEND:
Bootstrap
uPlot https://github.com/leeoniya/uPlot
Just a sprinkle of inline JS+CSS on the page.
-
It's always been you, Canvas2D
you can use matchMedia to detect devicePixelRatio changes and re-sync:
https://github.com/leeoniya/uPlot/blob/190134aa844cfa2a0c052...
everything stays crisp even as you browser-zoom. e.g. https://leeoniya.github.io/uPlot/demos/area-fill.html
-
AMP Has Irreparably Damaged Publishersâ Trust in Google-Led Initiatives
Safari's slow release cadence (typically tied to OS version upgrades) does leave it more broken and for longer than Firefox, Chrome, Opera and other browsers that are updated more frequently and not tied to the OS.
just recently i ran into incompatibilities with Safari < 14 needing the old-spec matchmedia api:
https://github.com/leeoniya/uPlot/issues/538#issuecomment-87...
-
JS library for graphing huge amounts of data
uPlot will handle this. https://github.com/leeoniya/uPlot
-
WebGL charting libraries
If you are showing 100s of thousands of points, I'd still go with canvas eg uPlot. It's a really, really excellent library.
-
[task] Program uplot support into node-red-dashboard (javascript)
The existing node red chart tools is not great. I'd like to be able to use uplot instead. The uplot-charts node should work very much like that charts node built into node-red-dashboard.
-
Optimizing at the CPU instruction level in the browser w. Rust and WebAssembly
super cool!
i've done my share of optimizations and benchmarking charting libs [1] but this goes deeper still.
SVG is not a good choice for large raw datasets when you need performance.
[1] https://github.com/leeoniya/uPlot#performance
BezierInfo-2
- Flattening BĂ©zier Curves and Arcs
-
Solution needed
For the bezier you need 4 control points via a click, then evaluate using lerps (or basis functions). Start here https://pomax.github.io/bezierinfo/
-
Hexagonal Grids
> How to pack geometric shapes inside other shapes https://erich-friedman.github.io/packing/
Packing / bin-packing is very serious stuff: savings made there directly translate to less waste / reduced costs (for example when cutting shapes into sheets of metal in big factories).
> * Amazing reference on bezier curves https://pomax.github.io/bezierinfo/
And some beautiful graphs in there, notably those under section 26 "Curvature of a curve". Screenshot'ed for my own collection of good looking stuff!
-
Visualization of Common Algorithms
https://pomax.github.io/bezierinfo/#explanation
A visual overview of commonly used creative coding related techniques and algorithms.
- A Primer on BĂ©zier Curves
-
Text Rendering Hates You
I wrote an openGL font renderer once, it was a lot of fun. Bezier curves are such an elegant technique. The difference between what I wrote and what you'd use in a proper environment is pretty big, but I recommend it sometime.
Fonts are pretty much just third or fourth degree beziers, iirc (i may have my terminology wrong). Try it out sometime, I did mine using tessellation shaders.
Btw, you'll never find a better guide on beziers than here:
https://pomax.github.io/bezierinfo/
-
How to get the smoothness of a cubic Bezier curve in Apache Commons math3.
Alternatively you can use the equation of a cubic BĂ©zier curve to do the computations yourself. This website offers great explanations and examples of the math behind BĂ©zier curves: https://pomax.github.io/bezierinfo/
-
[Media] I'm making a new open source font editor with gtk-rs. I just managed to make non-linear curves with my BĂ©zier path tool for the first time!
Btw, for Bezier math this is a great resource: https://pomax.github.io/bezierinfo/
- Transforming a parametric equation into explicit equation
- Linii bezier cu coliziune
What are some alternatives?
PlotJuggler - The Time Series Visualization Tool that you deserve.
BezierCurveTool2.0
Grafana - The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
CAM6 - Cellular Automata Machine (CAM6) Simulator
Charts - ⥠Laravel Charts â Build charts using laravel. The laravel adapter for Chartisan.
bezmouse - Simulate human mouse movements with xdotool
laravel-recharts - A Laravel package for using the Recharts charting Library. Docs: https://kaishiyoku.github.io/laravel-recharts
spiral_cube - How to convert between spiral and cube hexagonal coordinate systems
TimeChart - An chart library specialized for large-scale time-series data, built on WebGL.
SoftwareRenderer - Software rendering engine with PBR. Built from scratch on C++.
network-weathermap-prometheus-datasource - attempt to add prometheus as datasource for network-weathermap
Skia - Skia is a complete 2D graphic library for drawing Text, Geometries, and Images.