import javafx.animation.AnimationTimer
import javafx.application.Application
import javafx.application.Platform
import javafx.geometry.Pos
import javafx.scene.canvas.GraphicsContext
import javafx.scene.control.RadioButton
import javafx.scene.paint.Color
import tornadofx.*
import java.util.*
import kotlin.math.PI
import kotlin.math.cos
import kotlin.math.sin
fun main(args: Array) {
Application.launch(TestApp::class.java, *args)
}
class TestApp : App(TestView::class)
class TestView : View("逐个显示图形") {
val isRun = booleanProperty()
val pNums = intProperty()
val aniMate = AniTimer()
var t