https://kotlinlang.org logo
#compose
Title
# compose
h

Halil Ozercan

10/31/2020, 9:28 PM
Inspired by this animation that I stumbled upon in /r/internetisbeautiful, developed a quick prototype in compose. Quick demo video:

https://youtu.be/iCe5f7L9vBg

Repo: https://github.com/halilozercan/compose-dotsandlines
🌟 14
s

Sergey Y.

10/31/2020, 10:35 PM
Nicely done 👍 But you can optimize it using the QuadTree algorithm 🤓
You know, it will greatly reduce search radius complexity.
g

Grigorii Yurkov

11/01/2020, 9:08 AM
I think even O(N^2) algorithm will work fine because there are too few points