EriKWDev

Results 37 comments of EriKWDev

I wrote an initial explanation of the coordinate system in #16 (https://github.com/EriKWDev/nanim/issues/16#issuecomment-991556512): ## The Coordinate System of Nanim The coordinate system of Nanim is a bit "weird", but it is...

https://github.com/johnnovak/nim-nanovg

Hi! Thanks for taking interest in nanim! :) I looked at your PR quickly and love the RenderingOptions, make much more sense than what I was doing. Will take a...

![Screenshot 2021-12-21 at 10 44 30](https://user-images.githubusercontent.com/19771356/146908219-f06f74c7-0f44-46d9-86c7-731717aea195.png) Here is the video rendered using your command next to the live rendering on my mac. Sadly, I don't get the same behaviour on...

Found it. in `init(entity: Entity)` I use the defaultStyle, which for some reason causes it to be mutated within the interpolations. By changing it to be `defaultStlye.deepCopy()` in the initialization...

I have experienced this issue as well on the latest version, but I do not currently know why it is happening. It's a shame really since it hindered me a...

of interest..? https://github.com/ManimCommunity/manim/blob/2d98af0b2229e37cecb4a0604335d1e911c3ff9f/manim/scene/scene_file_writer.py#L241 and here the FFmpeg commands: https://github.com/ManimCommunity/manim/blob/2d98af0b2229e37cecb4a0604335d1e911c3ff9f/manim/scene/scene_file_writer.py#L603

The relevant file in the project is `src/nanim/animation/animations.nim` (https://github.com/EriKWDev/nanim/blob/fea656276374bbbb673b87245f0503f56fe707ec/src/nanim/animation/animations.nim) All those animations are very copy-paste-y and would benefit enormously from template or macro.

The way nanim does patterns is very hacky. I beleive it clears the context and saves the pixels it cleared, then draws the pattern, saves the pattern's pixels and redraws...