I've gotten rusty on my JavaFX/TornadoFX animation...
# tornadofx
t
I've gotten rusty on my JavaFX/TornadoFX animation. I'm creating a demo for a symposium I'm speaking at, showing machine learning versus rule-based algorithms with autonomous vehicles. I am creating a VERY simple simulation where a little triangle has three sensor lines sticking out of it, and it's going to follow a path and avoid hitting any walls that touch those sensors. Here is what I have so far: https://github.com/thomasnield/auto-driving-simulation
a
Ping me if you want to do it in 3D. We have JavaFX backend for our 3d visualization tool. There are some problems with orbit controls camera, but otherwise it is working.
If you are doing model only for visualization, you can replace Point by https://docs.oracle.com/javase/8/javafx/api/javafx/geometry/Point2D.html and use JavaFX properties for location and rotation. It would simplify binding animation to model.
t
@altavir thank you, I may hit you for that later. I'll also take a look at Point2D so I'm not implementing my own...