https://dannoblem.github.io/Nature-of-code-Blog/Systems/
Press Keyboard to spawn food, you can click and drag the food around
Tried experimenting with vector flow-fields but was tricky trying to figure out a good way to constrain the ranges in 3D and how the angles on 3D vectors should be calculated. Think I need to review the math on 3D vectors and angles to try and get it to function properly. Also need to consider performance when creating the flow-field as right now the nested for loops do take a while to make all the Vectors.
I am going to continue experimenting with 3D vector flow-fields as currently I feel that the space feels a bit empty and the orbs don’t seems to function together and seem a bit isolated. Even though it is a early stage of the project I do imagine changing the visual style of the system.