Delaunator-GDScript
earcut
Delaunator-GDScript | earcut | |
---|---|---|
2 | 2 | |
79 | 2,117 | |
- | 1.6% | |
0.0 | 0.0 | |
about 2 months ago | 10 months ago | |
GDScript | JavaScript | |
MIT License | 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.
Delaunator-GDScript
-
How can I get started with terrain generation on Spherical objects?
Alternatively, if you do want to play with the delaunay/voronoi sphere, I would recommend giving yourself a week to play with delaunay/voronoi on a plane first, using Delaunator-GDScript. It takes some getting used to. I think I spent three weeks on just the geometry (in Delaunator-Javascript) before attempting terrain generation. Then you'll be able to wrap it onto a sphere. The good news is that most of the hard work is getting it working on a plane, and then the sphere is not much more work.
-
Creating a glass destruction transition using Delaunator-GDScript and Godot
I whilst searching for how to create destructible objects in Godot, I found Delaunator-GDScript I used it to create the really nice transition shown above. I'll show you how to create it in this. First download Delaunator.gd from the repository and place it in your project folder. Create a new Singleton with a Canvas Layer as it's root node , then add a script to it.
earcut
-
Looking for a modern way to draw filled polygons outta polyline-loop
To OP, you might want to check out https://github.com/mapbox/earcut. There are ports of it to all sorts of languages and it will help you with the triangulation.
- Function for generating and filling polygon from set of points
What are some alternatives?
godot-3-demos - Dozens of free and open source demos for the Godot game engine, version 3. Head to the link below for newer demos for Godot 4+
delaunator - An incredibly fast JavaScript library for Delaunay triangulation of 2D points
CavalierContours - 2D polyline library for offsetting, combining, etc.
turf - A modular geospatial engine written in JavaScript and TypeScript
surfacer - AI and pathfinding for 2D-platformers in Godot.
earcut.hpp - Fast, header-only polygon triangulation
dialogic - 💬 Create Dialogs, Visual Novels, RPGs, and manage Characters with Godot to create your Game!
rbush - RBush — a high-performance JavaScript R-tree-based 2D spatial index for points and rectangles
game-base-2D - A base structure for polished 2D games in Godot 4