#LVGL Scripting with #Rhai ... Powered by #WebAssembly and #RustLang
#Rhai Script rendering with #RustLang + #WebAssembly to #LVGL Canvas ... Yay!
https://github.com/AppKaki/lvgl-wasm/blob/rhai/mynewt/wasm/src/script.rs#L69-L121
#LVGL Canvas Rendering with #RustLang + #WebAssembly ... Now to port this to #Rhai Script 🤔
https://github.com/AppKaki/lvgl-wasm/blob/rhai/mynewt/wasm/src/script.rs#L90-L127
Why Dark didn't choose #RustLang
Yep #RustLang Scripting works with #LVGL in #WebAssembly! Needs some Proc Macro glue for #Rhai 🤔
https://github.com/AppKaki/lvgl-wasm/blob/rhai/mynewt/wasm/src/script.rs#L32-L84
Adding #RustLang Scripting to #LVGL in #WebAssembly ... Thanks to #Rhai
https://github.com/AppKaki/lvgl-wasm/blob/rhai/mynewt/wasm/src/script.rs
So if we register the #LVGL #RustLang Functions with #Rhai... We can run Rhai Scripts in-browser with #WebAssembly... To build #PineTime Watch Faces interactively? 🤔
Rhai scripting for #RustLang looks interesting... Works in #WebAssembly too
#GoLang Compiler runs in-browser with #WebAssembly ... How do we do the same for #RustLang? 🤔
https://johnstarich.medium.com/how-to-compile-code-in-the-browser-with-webassembly-b59ffd452c2b
#ExpressJS-like web server in #RustLang
Mapping our #RustLang Learning Journey ... For creating #PineTime Watch Faces @PINE64
https://lupyuen.github.io/pinetime-rust-mynewt/articles/handdrawn
Run #RustLang files and expressions as scripts
Embed a Bitmap the easy breezy #RustLang way into our egg... err... #PineTime Watch Face @PINE64
https://lupyuen.github.io/pinetime-rust-mynewt/articles/handdrawn
IoT Techie and Educator / Apache NuttX PMC