Hey,
not really an 'issue' - I've taken your fire animation because I wanted to play with native/viper and I needed a MicroPython fire animation.. thanks!
I've modified it a little bit and managed to bring it down to ~300ms/frame using native/viper only. You can find it here in case you're interested:
https://projects.om-office.de/frans/m5stickc_multitool/-/blob/main/fire.py
Modifications involved removing some calls to int (surprisingly big impact), more uses of array, less nested arrays, drawing (3 or more) pixel blocks rather than each pixel individually and setting the clock to 240MHz.
Hey,
not really an 'issue' - I've taken your fire animation because I wanted to play with
native/viperand I needed a MicroPython fire animation.. thanks!I've modified it a little bit and managed to bring it down to ~300ms/frame using
native/viperonly. You can find it here in case you're interested:https://projects.om-office.de/frans/m5stickc_multitool/-/blob/main/fire.py
Modifications involved removing some calls to
int(surprisingly big impact), more uses ofarray, less nested arrays, drawing (3 or more) pixel blocks rather than each pixel individually and setting the clock to 240MHz.