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": "holtstrom.com", "base": "\/michael", "url": "https:\/\/holtstrom.com\/michael\/", "frameworkFiles": "https:\/\/holtstrom.com\/michael\/_framework\/_files.4\/", "commonFiles": "https:\/\/holtstrom.com\/michael\/_common\/_files.3\/", "mediaFiles": "https:\/\/holtstrom.com\/michael\/media\/_files.3\/", "tmdbUrl": "http:\/\/www.themoviedb.org\/", "tmdbPoster": "http:\/\/image.tmdb.org\/t\/p\/w342" }