MathAnimation
Rustlings
MathAnimation | Rustlings | |
---|---|---|
4 | 290 | |
953 | 49,776 | |
- | 2.9% | |
4.1 | 9.5 | |
about 1 month ago | 8 days ago | |
C++ | Rust | |
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
MathAnimation
-
Ask HN: Tell us about your project that's not done yet but you want feedback on
https://github.com/ambrosiogabe/MathAnimation
If you’ve ever tried to make a mathematical animation (think 3Blue1Brown), it’s a real pain. I was using manim for awhile to make animations for my YT channel, but the whole iteration process felt very slow and repetitive. So I thought I would recreate manim over the weekend, except with a GUI and real-time feedback. It’s been a year and a half and I’m hoping this weekend will be done soon so I can move on and start making videos again.
So far, it does a lot, but it still needs a lot of polish and refinement. The readme gives some gifs and a better idea of the feature set right now.
-
The Worst API Ever Made
Win32 definitely has some stinkers. But, video encoding APIs definitely take the cake for me. I've only tried a couple of FFmpeg's APIs and AV1's API, but my God, these are the worst API's I've ever had to deal with.
Just as an example, all I wanted was an API like this[0] for FFmpeg. In order to implement that API (which in my opinion is reasonable), I had to write this monstrosity[1]. It took me a solid week to find an example of how to do this, then another few days of fiddling until I finally just barely got something working. Then I threw in the towel even though the performance was horrible. I tried again a year later and spent another month wrestling with AV1 :/
The amount of leakage going on in these APIs is absolutely insane. I shouldn't have to know the intimate details of how video encoding works to use your library. If I do, then I may as well write my own encoder at that point.
[0]: https://github.com/ambrosiogabe/MathAnimation/blob/18c004bca...
[1]: https://github.com/ambrosiogabe/MathAnimation/blob/18c004bca...
-
Show HN: Mafs – React components for interactive math
I just so happen to be working on a real-time Gui first replacement for manim :)
It still has a ways to go, but I was able to create one video with it so far and I'm working on all the pain points I ran into while using it. Feel free to check it out if you're interested!
https://github.com/ambrosiogabe/MathAnimation
-
Ask HN: Who is using C++ as the main language for new project?
I'm using C++ for a minecraft clone that I've been tinkering on for the past year[0]. I also plan on using embedded lua for scripting, and I'm using RML UI for game HUDs, ImGui for development tools, and OpenGL for graphics. I use premake for my build system but plan on switching to CMake.
I'm also using it for an animation tool[1]. I've been using 3Blue1Brown's Manim (written in Python) which is amazing, but it lacks real-time editing and proper 3D blending. It also lacks audio synchronization, 3D texture support, and some more complex features that I'd like to add :)
[0]: https://youtu.be/UAUdIQZKV88
[1]: https://github.com/ambrosiogabe/MathAnimation
Rustlings
-
GPUI 2 is now in production – Zed
Zed is great, have been using it to do the Rustlings exercises and learn Rust:
https://github.com/rust-lang/rustlings
If you've been looking for an excuse to learn Rust, check it out.
- I'm looking for practical Rust exercises
-
Avoid nested matches
Doing the rustlings conversions/from_into task which asks
-
Rustlings is the greatest thing ever
However, I stumbled across Tauri (as a replacement for Electron), and installed Rust just to get Tauri to work. A few days later, I installed Rustlings (https://github.com/rust-lang/rustlings) on a whim, and did the first exercise.
- CodeCrafters CEO adds his paid service as a next step after finishing Rustlings
-
Learning Zig
Rust also has something similar which is where I believe Zig drew inspiration from as well: https://github.com/rust-lang/rustlings
-
Bevy XPBD: A physics engine for the Bevy game engine
Rustlings gives a great introduction to the language:
https://github.com/rust-lang/rustlings
Disclaimer: I write JavaScript
- Learning Rust Recommendations?
-
Hi I’m a total newbie to programming but wants to learn rust as a first language.
Consider solving puzzles and exercises from rustlings and / or try the Rust track at exercism which I found very valuable.
-
Reached a new benchmark today, completed 1000 problems
Rustlings(for learning by doing): https://github.com/rust-lang/rustlings
What are some alternatives?
k8deployer - An experimental deployer for kubernetes apps for developers who are too lazy (or busy) to learn Helm.
rust-koans - Koans for the Rust programming language
wisewriterv3 - From an input, creates a full book, with cover art and sells it on Amazon. Using OpenAI for content, Midjourney for covers, and puppeteer for product input.
rust-by-example - Learn Rust with examples (Live code editor included)
israpdead_react - wip react rebuild of israpisdead. v1 is live now
Exercism - Scala Exercises - Crowd-sourced code mentorship. Practice having thoughtful conversations about code.
shelby_as_a_service - Production-ready LLM Agents. Just add API keys
book - The Rust Programming Language
LoopModels - "Full speed or nothing." - James Hetfield
rust-learning - A bunch of links to blog posts, articles, videos, etc for learning Rust
slint - Slint is a declarative GUI toolkit to build native user interfaces for Rust, C++, or JavaScript apps.
rust-by-practice - Learning Rust By Practice, narrowing the gap between beginner and skilled-dev through challenging examples, exercises and projects.