private void CreateNode(Loader loader, Vector3 mousePositionCartesianCoordinates, Vector3 color)
        {
            AnimatedNode node = new AnimatedNode(iterativeFunction, linearFunction, mousePositionCartesianCoordinates.X / iterativeFunction.scale, nodeVelocity, nodes.Count, color, pointSize);

            node.GetRawModel(loader);
            customNodes.Add(node);
        }
        private void GetNodes(Loader loader, float startTime, float finalTime, int numberOfNodes, float nodeVelocity, float nodeVelocityRange = 0)
        {
            Random random = new Random();

            for (int i = 0; i < numberOfNodes; i++)
            {
                float velocity = nodeVelocity + (nodeVelocityRange * random.Next(-1, 2));

                AnimatedNode node = new AnimatedNode(iterativeFunction, linearFunction, (float)startTime + i * (finalTime - startTime) / numberOfNodes, velocity, i, new Vector3(1, 0, 1), pointSize);
                if (trackChaos)
                {
                    node.NodeDied += KillNode;
                }
                node.GetRawModel(loader);
                nodes.Add(node);
            }
        }