This 3D train on a map is built with #Flutter.
The Flutter Way
Visit on X@theflutterway26K followers
19,253 views #Flutter
This 3D train on a map is built with #Flutter.
It runs this smooth on low-end Android phones. And it's production right now in the app with 30K+ active users daily.
Plot twist: it's not 3D. 🤫 It's 216 photos.
We built a 3D Bangladesh Railway train once.
Took a "photo" of it from every angle.
The phone just flips to the right one. Like a flipbook.
The rails? Flutter paints them.
The station names? Flutter paints them.
The ক coach marker? You guessed it.
The cost:
⚡ Under 1/3 of a millisecond per frame for the track
🧠 6.5 MB of memory for the train
📦 2.4 MB in the app
That's Flutter. 💙
Would you have guessed it was photos?
7 Comments
Comments from the original post on X (Twitter)

@MichaelH1203
216 photos faking 3D is a brilliant trick. With 30K+ daily users, should send an HSTS header, which it doesn't yet (CSP and frame protection are missing too). 10-second check: – Michael
3 likes

@shafi_munshii
How did you manage to track real time train coordinates and the routes?
3 likes

@kk_spartans
please expand this to other cities!! im willing to contribute
2 likes

@Crypto_CoolGuy
It’s really cool bro🔥! Can I contribute?
2 likes

@wangyan_im
heading wraparound is worth a test — smoothing 359° to 1° should take the short path, not a full spin

@cankatturkmen
This is 2D is amazing

@TanzilTaqi
Nice initiative! Great work! Will love to contribute here
