CodingTrain / CodingTrain/Suggestion-Box
Circle Dart Throwing Improvement
- Dominant language
- No language data
- Stars
- 570
- Forks
- 85
- PR merge metrics
- No merged PRs in 30d
Description
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
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.