David Scott Lyons
3D artist / designer / developer

Monthly Archives: April 2013

Environment Mapping

Yesterday I shot a panorama at my desk at work with the Photosnyth app, then converted it to a cubemap and brought it into Three.js with Paul Lewis’s tutorial and Blender file, and kept the refractive and the reflective materials in place from the Three.js GitHub repo’s cubemap example, but replaced the model with Lee […]

Three.js Boilerplate

Custom Three.js boilerplate with Lee Perry Smith JSON model, tween.js, dat.gui, and orbit controls. Also testing out an iframe embed method below. Launch Demo

Syntax Highlighter Plugin Test

Testing out Chris Bavota’s Syntax Highlighter Shortcode using Prism.js <ul class="nav"> <li><a href="#">Item 1</a></li> <li><a href="#">Item 2</a></li> <li><a href="#">Item 3</a></li> <li><a href="#">Long line of text. Long line of text. Long line of text. Long line of text. Long line of text. Long line of text. Long line of text. Long line of text.</a></li> </ul> body […]

Syntax Highlight Test

HTML <ul class=”nav”> <li><a href=”#”>Item 1</a></li> <li><a href=”#”>Item 2</a></li> <li><a href=”#”>Item 3</a></li> <li><a href=”#”>Long line of text. Long line of text. Long line of text. Long line of text. Long line of text. Long line of text. Long line of text. Long line of text.</a></li> </ul> CSS p { color: red } Javascript $(“.scroll”).click(function(e){ e.preventDefault(); […]