Monday, April 21, 2014

WebGL Dice Rolling on the iPad

WebGL 3D graphics are now widely supported everywhere except iOS (and perhaps mobile platforms in general).

Web Dice Roller is a great starting point. It uses Three.JS and Physijs, all thee from github.

Unfortunately if you browse to one of the Three.JS examples on your iPad, you'll see that nothing works. Can I Use shows that iOS Safari has no support for WebGL. So it looks like you have to go native.

WebGL Dice Roller is another example that's less functional but has better looking dice.

{ "loggedin": false, "owner": false, "avatar": "", "render": "nothing", "trackingID": "UA-36983794-1", "description": "", "page": { "blogIds": [ 495 ] }, "domain": "", "base": "\/michael", "url": "https:\/\/\/michael\/", "frameworkFiles": "https:\/\/\/michael\/_framework\/_files.4\/", "commonFiles": "https:\/\/\/michael\/_common\/_files.3\/", "mediaFiles": "https:\/\/\/michael\/media\/_files.3\/", "tmdbUrl": "http:\/\/\/", "tmdbPoster": "http:\/\/\/t\/p\/w342" }