I am starting an educational program in science an...
# general-advice
a
I am starting an educational program in science and programming with a team. I want to develop something like 3Blue1Brown Manim package for Kotlin. But for the first step there are several question to be asked: 1. Is there any projects out there doing this job? So that I stay more efficient? 2. I want to introduce vector graphics (which is presumably the right step for having multiple transitions and resolutions available for work.) What packages do this in Kotlin Or should I write from scratch (I have read about javafx but never used it and it seems to be working with pixels instead)? 3. Any idea how to implement LaTeX for these scenes? 4. Is the process of making the video frame by frame (generating actual images) and then putting them all together as a video good?
c
Take a look at #C07121FA6T1. Not the same thing, but similar enough that you may find some inspiration
#C01F2HV7868 (HTML version) has nice support for SVGs, including editing them dynamically to create animations etc. Compose HTML is a bit different from other Compose variants—you may be interested in reading https://bitspittle.dev/blog/2024/c4w
The upside of Compose HTML is that it will run easily on the web, so it's easy to share to other people. The downside is that you're stuck with JS libraries. Compose Multiplatform (which CUP is using) will allow you to run on desktop with Swing, and there are plenty of tools there to record videos
a
Thanks Ivan, I don't know how HTML can help me produce videos... are there solutions to this?
j
If you want to draw nice animations à la 3blue1brown, you might want to use a canvas instead of HTML on the web (so, Compose WASM over Compose HTML). This way you can even easily make your drawing code multiplatform, and test it on desktop and mobile, depending on where you want your students to use it. This is experimental tech, though.
I don't know about existing libraries, but I'm pretty sure I heard about libs to do some advanced maths
a
@Joffrey But I only want to make videos... nothing else.
j
Ah sorry I misread, I thought your goal was just to make a math animation library, not the videos themselves
a
Yeah the animation library that would be used to make animations. I wouldn't give it to students to use it.