three_start

web page   |   repo   |   detmarp.github.io

Demo scripts

If you’re viewing this as a web page, then the demo links below should run the demos.

image 00-ice-breaker

image 01-resizable

image 02-no-3d

image 03-lights

image 04-camera

image 05-buttons

image 06-planets

To view the demo sources, re-open this page as repo source, and then follow the demo links.

About

This repo is all about writing some simple, single-page, three.js samples.

Three.js [github] [wikipedia] is a JavaScript API that builds on WebGL, and adds a lot of support to that lower-level library.

My motivation is that I want to experiment with some 3D ideas, and for simplicity and portability reasons, I choose WebGL and three.js.

This repo, three_start, has a bunch of little demo starter sample pages. A realistic three.js-based project would be built with multiple files. But these demos are meant to work as stand-alone html files.

Blog

Here’s a blog of my notes as I go. There’s not really anything there yet.