A photo of Max Glenister Max Glenister

31: Something in the Shadows

Today is the last day of Cardboctober! And less surprisingly, it’s also Halloween 🎃 - For today’s hack I’ve made something spooky. If you don’t like spiders, you should look away now.

The spider is simply made of some SphereGeometry and CylinderGeometry meshes, that have been scaled/rotated:

To make the fog effect, I’m using Three’s THREE.Fog():

scene.fog = new THREE.Fog(0x111111, 0.015, 110);

And then I’ve got some simple animations to wiggle the legs/abdomen of the spider, and make him walk around the camera at a fixed radius.


View this Cardboctober hack 31: Something in the Shadows

View the other submissions for day 31 on the Cardboctober website.

Check out my other Cardoctober posts here: /cardboctober

About the author

A photo of Max Glenister

Max Glenister is a Front-end Developer based in Oxfordshire. For work he spends his time designing, validating and implementing user interfaces. For fun he tinkers with Virtual Reality, 3D printing, embedded systems, game development and many other things.

You can keep up with Max on Github, Twitter and Reddit