This article shows how to use
Timelines and Timeline chaining to implement a simple lottery wheel where names rotate around a point. The wheel reduces its speed continuously and at the end the winner name is highlighted. The names are loaded from a simple text file and positioned around the middle point. The winner is indicated by an arrow which is created with a
Font size and the
Color of the names depends on the angle where they are placed around the circle.
Further informations and the documentation to this project can be found here JavaFX-LotteryWheel
Pull requests are welcome.
The JavaFX - Lottery Wheel application is released under version 2.0 of the Apache License.