April 16, 2013 - 1:42 PM | Category:
Code
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 […]
April 7, 2013 - 9:20 PM | Category:
Code
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
April 7, 2013 - 9:00 PM | Category:
Code
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 […]
April 7, 2013 - 8:44 PM | Category:
Code
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(); […]