top of page

Finding the closest points in a 3D space

gx3zUg.png

Using the divide and conquer method I made a program in Godot using GDScript to figure out which 2 points in a 3D space are the closest. The two red dots indicate that they are the closest in that space.

9qUSe4.png

In the program you can choose any number of points and the space size to have the program Instantiate that many points in that size. This makes the program have lots of variety to make sure the Divide and Conquer Algorithm is accurate.

IMG_2904_edited.jpg

This is how the Divide and Conquer Algorithm works

Project Link

bottom of page