Crosswords0 min ago
MATLAB programing
Answers
No best answer has yet been selected by newtron. Once a best answer has been selected, it will be shown here.
For more on marking an answer as the "Best Answer", please visit our FAQ.It is within a finite area, and yes it will inevitably collide with itself eventually, but I would like to maximize the time before this happens. I'm just trying to make some trippy animations for the fun of it. Other than that, there is no point. As it is, the line generally makes a block-like pattern and turns into itself and usually the time at which it traps itself is several time steps before it actually hits a deadend. I need it to be able to look at the general shape made by its previous path and be able to tell if the next move will lead to a trap.
Related Questions
Sorry, we can't find any related questions. Try using the search bar at the top of the page to search for some keywords, or choose a topic and submit your own question.