RSSAmplifier

Blog

Franklin Ta

Franklin Ta

franklinta.comRSS feed ↗8 posts

Latest posts

Migrated to Ghost

Hosting for my old wordpress blog expired so I'm trying out Ghost now. Let me know if you see anything broken.

Image diffing using CSS

Since the last post on CSS was popular here is another simple CSS trick that I found useful in the past. Let’s say we want to find the difference between these two images: You can do this by simply inverting the colors and then stacking them together at 50%

Serverless WebRTC using QR codes

For those not familiar, WebRTC is a technology for peer-to-peer communication between browsers. But despite being peer to peer, WebRTC still requires setting up servers for exchanging session descriptions before the browsers can talk to each other (this is called “signaling”). If you don’t want to manage your own

6DOF Positional Tracking with the Wiimote

In this post I am going to talk about how to track the absolute position and orientation of a wiimote in 3D space. This is certainly nothing new and was done over seven years ago . Oliver Kreylos, the creator of the video I just linked to, wrote a very good

Computing CSS matrix3d transforms

I was cleaning out some old notes from my previous job and found some math scribbles for computing CSS transforms and thought I would share it. For some context, I was working on a page which had an image that looked like this: I wanted to add an easter egg

Predicting the next Math.random() in Java

A while back a friend of mine hosted a programming competition where you were given 9 random numbers one at a time and you had to guess the rank (the sorted position amongst the 9) of each as they are coming in. The goal was to submit a strategy in

Solving CAPTCHAs on Project Euler

A couple weeks ago I started doing Project Euler problems. Unfortunately this was during their security breach so login was disabled so I couldn’t get credit for any of the problems I solved. Now that account functionality is restored, I want to resubmit my answers (about 60 of them)

Hello world!

I wanted to start blogging for a while now but never had time. Today I will finally start! It’s probably going to be mostly about programming and math.