simplify-js
masterscrat
simplify-js | masterscrat | |
---|---|---|
2 | 1 | |
2,222 | - | |
- | - | |
0.0 | - | |
over 1 year ago | - | |
JavaScript | ||
BSD 2-clause "Simplified" License | - |
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.
simplify-js
- Too many vectors, file doesn't print - any way to optimise?
-
Downsampling Time Series for Visual Representation [pdf]
This looks cool, I especially like the "intuitive" longest line algorithm.
~7 years ago I was trying to build a dashboard that displayed real-time measurements from a beehive. The sensors would take temperature, weight, humidity, etc. Back then I used simplify.js [0] which uses two simplification algorithms in two passes. The more compute intensive one is the Ramer Douglas Peucker algorithm [1]. One issue I had with streaming data is that new data points could change the past line, at least with my naive implementation. I'd love to see a real-time / streaming time series simplification algorithm where the past points don't appear to change wildly despite continuing to downsample.
[0] https://github.com/mourner/simplify-js
[1] https://en.wikipedia.org/wiki/Ramer%E2%80%93Douglas%E2%80%93...
masterscrat
-
Downsampling Time Series for Visual Representation [pdf]
Interesting to see this pop up here! I was looking for a solution to plot terabytes of time series during my MSc Thesis at CERN and ended up adding support for this to a Grafana fork. Fun times.
Details here: https://github.com/MasterScrat/masterscrat.github.io/blob/ma...
What are some alternatives?
abstreet - Transportation planning and traffic simulation software for creating cities friendlier to walking, biking, and public transit
flot-downsample - Downsample plugin for Flot charts.
svgo - ⚙️ Node.js tool for optimizing SVG files