CodingTrain / CodingTrain/Suggestion-Box
Delaunay Triangulation
- Langage dominant
- Aucune donnée de langage
- Étoiles
- 570
- Forks
- 85
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
On this topic:
https://en.wikipedia.org/wiki/Delaunay_triangulation
Trangulating a polygon means to split it up into smaller triangles.
Your Program could generate some random points and triangulate the konvex hull of them.
Then the challenge would be to find out which triangles are needed to be flipped to make a delaunay trangulation out of it.
Next you could make a voronoi diagram, which tells you areas that are closest to one of the point.
This is to be imagines like having multiples schools and finding the areas for each school to pull pupils from, based on travel distance.
To do so, you would have to make lines that are perpendicular to the edges of the triangles of the delaunay triangulation and they are cut off by each other.
I think you would be able to do the delaunay triangulation in one ~15 min coding challenge, but the voronoi diagram might be a bit harder.
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
Commencez par l’article Wikipédia lié et la progression proposée dans l’issue : points aléatoires, triangulation de l’enveloppe convexe, flips d’arêtes pour Delaunay triangulation et un Voronoi diagram. Clarifiez quelles étapes doivent faire partie de la contribution et où l’implémentation doit se trouver ; le résultat final doit inclure un résultat défini pour les étapes sélectionnées et un moyen de le vérifier.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Domaine
- computer-graphics
- Type d'issue
- Fonctionnalité
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 25/100