Someone ported Super Mario 64 to the web.
This project is avaliable under the MIT license. (source link)