CodingTrain / CodingTrain/Suggestion-Box
Circle Dart Throwing Improvement
- Vorherrschende Sprache
- Keine Sprachdaten
- Sterne
- 570
- Forks
- 85
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
This should be a comment link:
https://www.youtube.com/watch?v=XATr_jdh-44&lc=z12yurvqmqandf4nu22ue15q4radffvhz04
> Hi Daniel, I like your videos.
> There are several opportunities to improve the algorithm.
> First we can add a buffer which stores unsuitable positions to place the circle. This will avoid repetition calculating distances between points.
> Second we can divide the region into chunks and calculate only the distance to the circles from nearest chunks.
> This will improve speed and increase the density of circles.
>
> My implementation: https://github.com/roocster/p5.js-no-overlap-circles
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.