Tesla app implementation using Rust and egui
.
This project is an experiment to replicate the animations and interactions of the Tesla app originally built with Flutter (see references below).
✅ Currently, the app runs fine on Linux (Ubuntu) and Android.
std::time
with WebAssembly.
Built using xbuild
x build --arch arm64 --platform android --release
x run --device <DEVICE>
$ x devices
host Linux linux x64 Arch Linux 6.6.2-arch1-1
adb:d535946 OnePlus5T android arm64 Android 10 (API 29)
$ x run --device adb:d535946
cargo build --target=wasm32-unknown-unknown
trunk serve --port 9999 --release
std::time
is not fully supported in WebAssembly. Further investigation is needed (e.g., using wasm-bindgen or gloo_timers).
cargo build
cargo run --release
This project was inspired by the work of Abu Anwar.
📹 Flutter Tesla App video tutorials:
- Episode 1 - Flutter Pro Animation - Speed Code
- Episode 2 - Flutter Pro Animation - Speed Code
- Episode 3 - Flutter Pro Animation - Speed Code
- Episode 4 - Flutter Pro Animation - Speed Code
💻 Flutter source code: Animated-Tesla-Car-App-using-Flutter
Some of the .svg files in this project were taken (with minor modifications) from the above repository. Special thanks to Abu Anwar for providing such a great learning resource 🙏.
- ✅ Multi-platform build (Android, WASM, Native)
- ✅ Runs fine on Linux (Ubuntu) and Android
⚠️ WASM: animations are not working properly (std::time issue)⚠️ Animations and interactions are not yet complete- 🐞 Several bugs remain to be fixed