EriKWDev / nanim

Nanim is an easy-to-use framework to create smooth GPU-accelerated animations that can be previewed live inside a glfw window and, when ready, rendered to videos at an arbitrary resolution and framerate.
MIT License
118 stars 3 forks source link

add render function for usage not from command line + wrong fix for #16 #17

Open pietroppeter opened 2 years ago

pietroppeter commented 2 years ago

the first commit:

the above was useful for me to create a nanim animation for today's advent of code: https://pietroppeter.github.io/adventofnim/2021/day07.html

as mentioned in #16 the fix in the second commit, although it seems wrong, improved a bit my situation and allowed me to complete the task. Once a better fix (or an explanation fo behavior) is available, we could merge all this. For the moment this is a draft.

Have a good day and thanks again for nanim!