Convert boids to Javafx.