Back to Islamabad with a newfound love for electronics
A road trip up from Karachi, a crash course in ECU flashing, an apartment hunt, and two new sites: Reflash Pro and Habesha.
"A whole road trip, lots of apartment visits, and finally settled in!"
Can't believe it's been almost a month since I last yapped here. I was so active with this too, smh.
Well, it's alright. It's never too late to write down what happened, and it's always fun to look back at your own solo monologues. I've always found it soothing to talk to myself, or to mirrors, or to screens. It boosts your confidence a lot.
In my last update I was in Karachi, exploring the tech scene over there. I learned a lot about the culture, met all sorts of people, and had a great time overall. Eventually I decided it was time to leave.
The road trip
We left Karachi by road, with a whole road trip planned. We stopped in Bahawalpur, Multan and Faisalabad, and then came up to Islamabad.
Bahawalpur blew me away. What an insane city. The roads are premium, and some areas felt like I was in a foreign country, lmao.
The trip wasn't just sightseeing, though. One of my really good friends runs a car flashing business, and he had clients lined up in almost every city on the way. So between the stops I was in parking lots, watching him plug a laptop into someone's car and read its ECU.
That turned into a crash course in car tech I didn't know I needed:
- OBD. The diagnostic port under the dashboard. It's how you talk to the car without opening anything up.
- ECU readings. Pulling the live data and the fault codes, and seeing what the engine thinks is going on.
- Flashing. Backing up the car's original ECU file, writing a remapped one with more power and torque, and then testing it. The original always stays saved, so the car can go back to stock.
Watching it in person was way more interesting than reading about it. Your car's personality is just a file, and you can rewrite it in an hour or two.
Apartment hunting, round two
Fast forwarding through all the fun stuff: once I got back to Islamabad, I had no place to live. Again. I'd been apartment hunting on the way up but couldn't find a decent deal, so I spent a few days in some really mid hotels.
On my fourth day in Islamabad, I finally found an apartment that fit my budget and my taste. It's a bit far from everything, but it's mine.
I had to get some things sorted and get an internet connection set up, but now I'm fully online. After the lease running out and months of couch hopping, it feels really good to have a place to call mine.
A new direction: electronics
After the CreateXworks stuff, the road trip pushed me in a different direction in tech. Watching a laptop talk to a car made me want to build hardware of my own.
So lately I've been playing around with ESP32 and Arduino boards. Right now I'm working on a keychain. If it works out, I'll write it up properly in the next post.
Meanwhile, the trip also turned into two websites.
Reflash Pro
Reflash Pro is my friend's ECU remapping business. There's no workshop. He comes to your car, at home or at the office, and most flashes take one to two hours.
The people who visit are petrolheads who arrive from Instagram or from googling "their car stage 1 remap". They want to see what their exact car gains, and then book. So that's what the whole site is built around.
Every car gets its own page
The data lives in a spreadsheet of about 8,400 engines across 82 brands. An importer turns the sheet into JSON, and Astro builds one static page per brand, per model, and per engine.
- The spreadsheet stays the source of truth. Update the sheet, rebuild, deploy. No database and no admin panel to maintain.
- One real page per car is the SEO. Someone googling "Golf GTI Mk7 stage 1" should land on a page about the Golf GTI Mk7, not on a single page reading
?id=from the URL. - A car finder goes brand → model → generation → engine and loads one shared, cached index.
- Stage 1 only for now. Stage 2 and 3 switch on automatically once they're added to the sheet.
Each engine page has a dyno-sheet table with stock power, Stage 1 power and the gain, plus a power and torque curve. The curve is generated, not measured, and the site says so. The only claims in the copy are ones the owner actually confirmed: every file is dyno tested and kept within manufacturer limits, Stage 1 gives up to +35% power, and the original ECU file is always backed up.
The camcorder tape
The first version looked like every tuning shop template out there: a car photo in a split hero, four benefit cards, a numbered process row, and a grid of brand tiles. It got rejected for looking "AI-ish" twice, which, fair.
So I redesigned the whole thing as one camcorder tape, recorded at the workshop after dark:
- A full-bleed hero reel with sound, a live audio meter, and camcorder readouts in all four corners.
- Chapters instead of sections. A band of tracking noise separates each one, carrying the next chapter's title and timecode. A tape counter in the corner follows your scroll and names the chapter you're in.
- The car finder is the camcorder's MENU box. The selected row flips to inverse video, the way an old camcorder highlights its menu.
- Two voices. Saira Condensed for the headlines, with a faint red and cyan bleed like VHS colour misregistration, and VT323 for every timecode, readout and label.
- Red is the REC light. It's used for the REC dot, the main button and the gain numbers, and nothing else.
- Grain and one tracking band roll down the screen on load, then the picture holds still. That's the whole of the grunge. No tape stickers or torn paper.
Motion
The motion graphics are made with Remotion, which renders React components to video. There's a flash log, a tachometer that hard-cuts to "STAGE 1 WRITTEN", a HUD, and a portrait reel composition for Instagram.
"How it works" on the homepage is one pinned chapter with four SVG scenes, scrubbed by scroll: diagnose, read and back up, remap, then flash and test. The four gains sit in a readout panel and light up as their scene plays.
Making it fast
The audit pass was mostly about phones on bad connections:
- Brand logos went to WebP at display size, from about 900 KB down to 240 KB.
- The hero video holds on its poster on data saver and 2G, and doesn't preload in full.
- Layout shift on brand pages dropped from 0.25 to 0.03, and on engine pages from 0.11 to 0.02.
- On phones, the finder folds into a "Change car" row, so the car and its gains come first.
- axe reports zero accessibility issues.
Booking happens over WhatsApp. The contact form writes the message for you, with the car and stage already filled in from the page you came from.
Habesha
Habesha is an Ethiopian coffee place in Bahria Town, Rawalpindi. The Ethiopian coffee ceremony is such a cool thing, and I wanted to build something that shows it off properly. So it's a single page that tells the story of the ceremony as you scroll.
A scroll-driven 3D story
A fixed Three.js scene sits behind the page, and the chapters scroll over it. As you scroll, the scene moves through a jebena (the clay coffee pot), beans, a pattern tunnel, a roasting pan, a mortar, cini cups and popcorn.
The chapters follow the ceremony itself:
- Wash and roast. Green beans roasted by hand in a flat pan over an open flame.
- Grind. Pounded in a mortar with a pestle. No machines.
- Brew. Simmered in the jebena until the pot starts to sing.
- Pour. From a height, in one stream, into small cini cups, with popcorn on the side.
Then come the three rounds, Abol, Tona and Baraka, each lighter than the last, with the third one a blessing. After that it's the blends, the popcorn, and a visit section.
How it works
- Vite, React and TypeScript, with three.js through React Three Fiber.
- No model files. All of the geometry is procedural, so it's built in code.
- The scroll becomes a timeline. The scroll position turns into one number,
t, which is the chapter index plus your progress through that chapter. Every object has a keyframe table for position, rotation, scale and opacity, sampled att. To move a moment earlier or later, you just change a number. - Lenis for smooth scrolling, and GSAP for the loader and intro only.
The look
The palette is sampled from the café's own video: a saffron plaster wall, a black lacquer ceremony table, cream and gold captions, and the painted red and green of the jebena.
The 3D went from plain shading to a folk-art toon style, with ink outlines, hand-painted textures on the jebena, cups and basket, a beaded lacquer tray and cartoon steam. I also tried a cursive serif for the accents and took it out again. The highlighted words stay red, but upright.
Making it smooth
Scroll-driven 3D drops frames easily, so I did a performance pass that took each frame from about 20ms to about 6ms:
- Low-poly beans and popcorn, and no shadows.
- Pixel ratio capped at 1.5, with an adaptive fallback for weaker devices.
- Lenis driven from the same frame loop as the 3D, so they don't fight each other.
- Shaders and textures compiled up front instead of on first scroll.
- No backdrop blur over the canvas, and sections that only touch the DOM when something actually changes.
Some of the copy still needs to be confirmed with the café: the exact address, the hours, and two of the blends, which are marked "Seasonal" for now.
What's next
- The keychain. The ESP32 project. If it works, it's the next post.
- Real domains. Both sites are still on preview addresses, and Reflash Pro needs its real domain set for its canonical URLs and sitemap.
- Habesha's details. Confirm the address, the hours and the blends with the café.
Anyway
A month of silence, four cities on the road, four days of mid hotels, and finally an apartment with working wifi.
The best part of it all wasn't the websites. It was sitting in parking lots watching a laptop rewrite how a car drives. That's what got me into electronics, and I'm curious where it goes.
Comments
No comments yet. Say something and you'll be the first.
Add yours