CSS-Tricks, explaining an approach on how to connect your smartphone to a 3D web game. Making a car which you can control by tilting your phone (using the phone’s accelerometer). Using the JavaScript library three.js for working with WebGL as well as WebSockets through the socket.io library and a few other web technologies.

">CSS-Tricks, explaining an approach on how to connect your smartphone to a 3D web game. Making a car which you can control by tilting your phone (using the phone’s accelerometer). Using the JavaScript library three.js for working with WebGL as well as WebSockets through the socket.io library and a few other web technologies.

">

How to Make a Smartphone Controlled 3D Web Game

A tutorial I wrote for CSS-Tricks, explaining an approach on how to connect your smartphone to a 3D web game. Making a car which you can control by tilting your phone (using the phone’s accelerometer). Using the JavaScript library three.js for working with WebGL as well as WebSockets through the socket.io library and a few other web technologies.

Go to article