The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning. Learn more →
Top 8 JavaScript computational-geometry Projects
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
LimberGridView
LimberGridView, a powerful JavaScript Library using Computational Geometry to render movable, resizable, and auto-arranging grids. Written in vanilla JavaScript, it can be plugged into most frameworks, plus it has a plugin for React applications. It gives users the most optimal arrangements using its highly efficient and fine-tuned algorithm.
There's a great library call rbush written by mourner which suits our purpose perfectly! Please do give a star to the repository if you like!
Project mention: Using Voronoi polygons for simplified continent generation | /r/proceduralgeneration | 2023-05-05Well, the easiest option would probably be to use a different Delaunay/Voronoi library. Delaunator (C# bindings here) should be a pretty good option: it's fast, and there's a good explanation of how to use the data structures it generates. There is some weirdness with how points at the edge of the domain work that you may have to work around, but that will probably be easier than trying to modify another algorithm or write your own. I know I've struggled to implement the algorithms for calculating Voronoi diagrams/Delaunay triangulations, even though I feel like I have a decent high-level understanding of how Fortune's algorithm is supposed to work.
Project mention: Databases are the endgame for data-oriented design | news.ycombinator.com | 2023-12-06> (There are ECS frameworks in JavaScript, which gives you absolutely no control over memory layout and thus completely defeats one of the primary purposes of the pattern.)
While JS does not provide great support for bit packing complex structs, typed arrays give you quite a bit of control over memory layout for simple numeric types, which is what you usually want for optimal data-oriented code anyway. This is a common technique used in fast JS libs for data visualization, ie:
https://github.com/mourner/flatbush
There are also basic operators required for bitarrays, which are useful for ECS and memory-efficient code generally.
JavaScript computational-geometry related posts
- Minimum Volume Ellipsoid
- Databases are the endgame for data-oriented design
- Trying Out Various Turf.js
- NYC Subwaysheds (Travel Time Maps)
- Load GeoHash data in RAM for querying for Proximity Searches
- Flatbush: A fast static spatial index for 2D points and rectangles in JavaScript
- Getting the distance from point A to point B.
-
A note from our sponsor - WorkOS
workos.com | 19 Apr 2024
Index
What are some of the best open-source computational-geometry projects in JavaScript? This list will help you:
Project | Stars | |
---|---|---|
1 | rbush | 2,355 |
2 | delaunator | 2,191 |
3 | earcut | 2,098 |
4 | supercluster | 2,008 |
5 | flatbush | 1,370 |
6 | hootenanny | 342 |
7 | robust-predicates | 285 |
8 | LimberGridView | 50 |