jeromeetienne / tquery

extension system for three.js
http://jeromeetienne.github.io/tquery/
MIT License
652 stars 119 forks source link

How to Get Started

or how to get the boilerplate :) boilerplate for tquery is a template to get you started. You download it and modify it until it fits your needs. It is a fast way to start a clean project with tquery. The running boilerplate looks like that.

Want to run it on your computer ? First you get boilerplate's files here. Then you launch the http server to serve them. Here is a little shell script which does it all.

curl -OL https://github.com/downloads/jeromeetienne/tquery/tqueryboilerplate.zip
unzip tqueryboilerplate.zip
cd tqueryboilerplate
make server

Then you open a browser on http://127.0.0.1:8000/ to see it running. Up to you to modify index.html until it fits your needs. index.html looks like the code below... Quite short.

<!doctype html><title>Minimal tQuery Page</title>
<script src="https://github.com/jeromeetienne/tquery/raw/master/tquery-bundle.js"></script>
<body><script>
    var world   = tQuery.createWorld().boilerplate().start();
    var object  = tQuery.createTorus().addTo(world);
</script></body>

Changelog

Current

Release - r59.0

Release - r58.0

Release - r57.0

Release - r56.0

Release - r53.0

Release - r52.0

Release - r51.0

Release - r50.2

Release - r50.1

Release - r50.0

Release - r49.1

Release - r49.0

Distributions

build/tquery.js: tquery core - 6k gzip+min

build/tquery-bundle.js: es5-shim + tquery core + three.js + boilerplate - 100k gzip+min

build/tquery-all.js: tquery bundle + all the plugin in incubations - infinite size - dont use :)