Web page view Source code view
<iframe src="http://jaanga.github.io/cookbook/boilerplate/shaders/latest/" width=100% height=500px class='overview' > There is an `iframe` here. It is not visible when viewed on github.com/jaanga. To view, please go to . </iframe> [Shader boilerplate for Three.js]( http://jaanga.github.io/cookbook/boilerplate/shaders/latest/ )See also
https://github.com/jaanga/gestification/tree/gh-pages/cookbook/boilerplate
Provide sample template or boilerplate files for a variety of Three.js script types
###Vision
Some of the goals:
- Trying to make the most amazing effects with the fewest, simplest lines of code
- Building code that is fun and easy to read
- Organizing the code and naming variables in such a familiar way so that comments are not needed
Style
- Spacing style is greedy vertically but generous horizontally - because monitors have lots width but never enough height
There are many more boilerplate files available. It's just a question of time before they get here
You have two ways of viewing the Jaanga Cookbook Boilerplate files:
- Web page hosted on GitHub: jaanga.github.io
- Source code on GitHub: github.com/jaanga << You are now probably here.
In order to view the files on this site you will need a device and browser that provides good support for WebGL WebGL is the JavaScript API for rendering interactive 3D graphics and 2D graphics within any compatible web browser without the use of plug-ins.
Generally this means a computer with an Intel Core i5 processor or better with an external GPU such as one made by Nvidia. Successful use of the apps on a phone or tablet is highly unlikely. A mouse or other pointing device with a scroll wheel is also highly recommended so that you can zoom, pant and rotate in 3D.
The apps here are currently being built and tested with the Google Chrome browser. Bugs on browsers other than Chrome need not be reported until such time as the work settles down and an effort to support more browsers is initiated.
Jaanga copyright notice and license
This repository contains files that are at an early and volatile stage. Not all licensing requirements may have been fully met let alone identified. It is the intension of the authors to play fair and all such requirements will either be met or the feature in question will turned off.
2014-04-17 ~ Theo
- Shader file added