Kotlin으로 삼각함수 곡선, 프랙털 & 매개변수 그래프를 그리고 싶어요. Let's Plot 이야기는 봤어요. Basic이 Visual Basic이 되기 전에는 매개변수 곡선을 그리는 프로그램을 짰었어요. 수식이 화면에 그려지는 걸 보는 게 꽤 멋졌죠.
이제 Kotlin으로 그걸 하고 싶어요. 버튼 & 텍스트 필드가 있는 창에서 X & Y 값과 도 단위 각도(라디안 말고)를 입력하고 그림이 나타나는 걸 보고 싶어요.
그냥 설치한 Kotlin만으로는 수식을 그릴 수 없겠죠. 창과 버튼 & 텍스트 필드를 만들어 줄 뭔가가 필요할 거예요. Java FX도 방법이고요. 온라인에서 Java FX에는 CSS & HTML도 필요하다는 얘기를 본 것 같아요. Compose로 그런 창과 컨트롤을 만들 수 있나요?
Flutter는 Dart를 쓰죠.
헷갈려요! 이걸 하려고 여러 언어를 공부해야 하진 않았으면 좋겠어요. 전 KISS 원칙을 아주 지지하거든요(밴드 얘기는 아니고요!).
어떤 방법을 권하시나요?
영어에서 번역·원문 보기I want to draw trigonometric curves, fractals & parametric plots using Kotlin. I've seen Let's Plot mentioned. Before Basic turned into Visual Basic, I wrote software to draw parametric curves. Seeing those equations appear on screen was pretty neat.
I'd like to do that in Kotlin now. I want a window containing buttons & text fields where I enter X & Y values & angles in degrees(not radians) & watch the drawing appear.
Presumably a plain Kotlin installation doesn't draw equations. Some facility would have to supply the window, buttons & text fields. Java FX is an option. I believe something online said Java FX also requires CSS & HTML. Would Compose let me build that window & its controls?
Dart is what Flutter uses.
I'm lost! Accomplishing this shouldn't require me to study a bunch of languages. I'm very much a KISS supporter(not referring to the band!).
What approach would you recommend?