Playing MMD in browsers

I always wanted to learn WebGL, but every time I attempted, I was lost in the concept. I had given it up three or four times.

About a month ago, I came across ammo.js and bullet.js, which are both 3D physics engine Bullet Physics ported to JavaScript. Then I thought "Hmm, it may be cool to write an MMD clone."

I started writing, knowing nothing about 3D. To my surprise, just after a month, I'm half-way there.

Some controls:

  • Mouse drag: View angle
  • Shift+Mouse drag: Center position
  • Mouse wheel: Distance

You can view the source here. I'm now learning ammo.js. Hopefully by the end of this week it's fully physics powered!