blog
delaunator
Our great sponsors
blog | delaunator | |
---|---|---|
1 | 4 | |
1,586 | 2,199 | |
- | 2.0% | |
5.4 | 4.9 | |
2 days ago | 3 months ago | |
JavaScript | JavaScript | |
- | ISC 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.
blog
-
SEO practice in SPA site
Take blog project structure as an example, the document structure is as follows:
delaunator
-
Using Voronoi polygons for simplified continent generation
Well, 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.
- Question about ints used for enums (cast as enum) (4.0.2)
-
Visualizing Delaunay Triangulation
Great article!
How does this algorithm compare to others, e.g. sweep algorithms like the one used by delaunator[0]?
An obvious difference is sweep algorithms sort the points in some way before adding them, is that a key to efficiency gains?
0: https://github.com/mapbox/delaunator/blob/main/README.md#pap...
- Diamonds
What are some alternatives?
prerender-spa-plugin - Prerenders static HTML in a single-page application.
earcut - The fastest and smallest JavaScript polygon triangulation library for your WebGL apps
spa-github-pages - Host single page apps with GitHub Pages
turf - A modular geospatial engine written in JavaScript and TypeScript
sghpa - Template for single page apps on Github Pages, via 404 meta redirect hack
fdir - ⚡ The fastest directory crawler & globbing library for NodeJS. Crawls 1m files in < 1s
epic-react-exercises - Practical React exercises with detailed solutions.
javascript-algorithms - 📝 Algorithms and data structures implemented in JavaScript with explanations and links to further readings
create-react-doc - 📝 Minimalistic React-powered static site generator.
spine-runtimes - 2D skeletal animation runtimes for Spine.
prerender-spa-plugin - Prerenders static HTML in a single-page application.
delaunator-sharp - Fast Delaunay triangulation of 2D points implemented in C#.