Rockbox Technical Forums

Support and General Use => Plugins/Viewers => Topic started by: globalc on August 11, 2021, 09:43:47 AM

Title: lua code: port of the "bad apple" animation to the FiiO M3K
Post by: globalc on August 11, 2021, 09:43:47 AM
Hoi,

wanted to write code for resource restricted devices again, and ported "Bad Apple" to the FiiO M3K.
I shared this on the IRC channel, but was asked to announce also here.

More details are here: https://blog.fluxcoil.net/posts/2021/08/rockbox-badapple-m3k/ (https://blog.fluxcoil.net/posts/2021/08/rockbox-badapple-m3k/).
A small mp4 file what this is about is here: https://fluxcoil.net/files/tmp/20210809_rockbox_badapple_1024.mp4 (https://fluxcoil.net/files/tmp/20210809_rockbox_badapple_1024.mp4).
The code itself is here: https://github.com/christianhorn/badapple-lua (https://github.com/christianhorn/badapple-lua).
ba_120x-ani.lua is probably the best performing implementation, only that reaches more or less 30fps on the M3K. The rockbox simulator can also be used to run these lua scripts.
cheers,
globalc
Title: Re: lua code: port of the "bad apple" animation to the FiiO M3K
Post by: Chronon on August 13, 2021, 03:11:31 PM
Nice work!