Alok Menghrajani

Previously: security engineer at Square, co-author of HackLang, put the 's' in https at Facebook. Maker of CTFs.


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. Let's dream of an Internet from times past.


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.