Alok Menghrajani
Currently: security consulting and lecturer.
Previously: security engineering at Square Block. Co-author of Hack (the programming language) and put the 's' in https at Facebook Meta. Maker of various CTF puzzles.
This blog does not use any tracking cookies and does not serve any ads. Enjoy your anonymity; I have no idea who you are, where you came from, and where you are headed to. Keep the dream of an Internet from times past alive.
Home | Contact me | Github | RSS feed | Consulting services | Tools & games
I once purchased an electronics kit from Kitsrus called Heart of Love (kit 136) as a Valentine Day present. 15 years later, the Heart of Love continues to blink its LEDs in fun patterns. The kit includes source code and schematic. This repo contains a JavaScript port. Implementing this code gave me an opportunity to peek and understand how the flashing patterns were encoded. The original source code used an interpreter to save code space.
Next steps? Maybe I’ll emulate the chip (an Intel 8051) or build a keychain-sized clone…
See it in action
Visit k136.html in your browser to see the JavaScript version of Heart of Love.