Skip to content

Commit

Permalink
Separate website fixed #47
Browse files Browse the repository at this point in the history
  • Loading branch information
tparisi committed Jan 28, 2015
1 parent 8fd91ad commit 2053383
Show file tree
Hide file tree
Showing 5,630 changed files with 1,604,324 additions and 0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
105 changes: 105 additions & 0 deletions docs/glamcopy.html
@@ -0,0 +1,105 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>About GLAM</title>
<style>
.glammy {
font-size:18px;
font-style:italic;
font-weight:bold;
}
</style>
</head>
<body>
<h1>About GLAM</h1>

<p>
<label class="glammy">GLAM</label> (GL And Markup) is a declarative language for 3D web content.
</p>
<p>
GLAM combines the power of WebGL with a set of easy-to-use markup tags and style properties. With GLAM, 3D authoring is like any other web authoring. To make 3D, you create elements, set their attributes, add event listeners, and define styles. Just like DOM used to make! Content is easy to animate: keyframes and tweens can be defined in a compact set of markup tags, or as standard CSS3 animations or transitions. GLAM is also fully extensible: to add custom behavior, write JavaScript event handlers. If you want fancy shading written in GLSL, simply specify your vertex and fragment shaders as properties of the object’s style. GLAM renders with WebGL, using Three.js, and adds behaviors, interaction and lots of easy-to-use features on top. But most importantly, GLAM defines a markup language and set of stylesheet extensions that make 3D programming a snap.
</p>
<p>
GLAM was created by Tony Parisi, the guy who made the Virtual Reality Markup Language (VRML), 20 years before anybody knew they needed it. Since then, Tony’s learned a few more things about graphics, web browsers have grown up, and the world has caught up with the vision. GLAM is still quite young. We’re adding features and demos at a rapid clip, and we are also looking closely at related technologies such as Web Components as they come of age. We’d love your feedback and contributions!
</p>
<p>

(links here)
</p>


<h1>FAQ</h1>

<h2>Why GLAM?</h2>

<p>
With WebGL, the browser is now a complete 3D platform. Powerful APIs provide everything we need: graphics, compositing, animation, threading, networking… making mind-blowing connected 3D applications possible. The API approach provides maximum flexibility – render whatever you want without the browser needing to support new objects – but the pendulum has swung too far. It takes lines and lines of JavaScript and JSON to make even the simplest 3D content. And there is no easy way to style your content once you’ve created it.
</p>
<p>

Let’s say you want to create a cube with a texture map (image) on its surface. Using the WebGL API, that’s about 300 lines of code. (Really.) You have to create buffers, load textures, set states, write shaders, and finally make drawing calls. It’s a ton of work, and it’s in an alien language full of unfamiliar concepts. So, you turn to Three.js to make it easier. Now, in about forty lines of code, you have accomplished the same thing, and are working with high level, easy to understand graphics objects. Cool… but think about it: forty lines of JavaScript code to make a cube. And that cube doesn’t animate, you can’t use your mouse to rotate it, and you can’t change its appearance with a style sheet.
Wouldn’t it be great if you could just say
</p>
<code>
&lt;cube&gt;
</code>
<p>
and a cube appears on the page? You bet it would.
</p>
<p>
Web developers need a simple way to create 3D content in pages that can be styled and programmed like any other page content. We need a 3D markup language for the web. We need… GLAM!
</p>
<p>
For more on the motivation behind GLAM, check out Tony’s <a href="http://www.slideshare.net/auradeluxe/glam-35009205">slideshare presentation</a>.
</p>



<h2>Why Now?</h2>
<p>
WebGL is ubiquitous. With the release of iOS8, WebGL now runs on all major desktop and mobile browsers, across all devices. That’s 3 billion seats ready for connected 3D applications, everywhere, powered by JavaScript. This is an incredible opportunity to change the face of computing.
</p>
<p>
The last few years have seen an explosion of interest in building WebGL. But there is a huge skill gap. 3D is inherently hard, yes; we have that extra dimension to worry about, plus cameras, shaders, skinned animations, etc… But there is no reason to make 3D harder than it has to be. For the simple 3D stuff, there should be a simple way to do it, with an approach that is familiar to the millions of web developers ready to try something new. Until GLAM, this didn’t exist. GLAM is here to make your 3D job easier, so you can focus on the fun part: building a killer 3D web app.
</p>
<h2>How Do I Use GLAM?</h2>

<p>
To add GLAM to your application, simply include either the debug or minified version of the library:
</p>
<p>
<code>
&lt;script src="path-to-glam-lib/glam.js"&gt;&lt;/script&gt;
</code>
</p>
<p>
OR
</p>
<p>
<code>
&lt;script src="path-to-glam-lib/glam.min.js"&gt;&lt;/script&gt;
</code>
</p>
<p>
… and then you can start adding 3D tags to your page. To see what those tags look like, read the Getting Started Tutorial (link)
</p>

<h2>How Do I Author GLAM?</h2>
<p>
Right now, authoring GLAM requires a text editor. Someday, maybe, we’ll build an interactive tool for authoring, or at least a syntax-assisted in-browser editor a la JSFiddle.
</p>
<p>
To test, you will most likely need a web server … so that you can see your texture maps and shaders. Launching HTML files from your Finder/Explorer usually results in the browser yakking about cross-origin restrictions.
</p>

<h2>How Can I Participate?</h2>
<p>
GLAM is new. We’re just getting started, and we need your help! We are looking for help with code, content and documentation. Check out the Github repo and examples (links here) and join the GLAM revolution!
</p>
<p class="glammy">
CAN YOU DIG IT?
</p>

</body>
</html>
5 changes: 5 additions & 0 deletions glamJS_site/.bowerrc
@@ -0,0 +1,5 @@
{
"directory": "vendor",
"json": "bower.json"
}

13 changes: 13 additions & 0 deletions glamJS_site/.travis.yml
@@ -0,0 +1,13 @@
language: node_js
node_js:
- "0.10"

before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- npm install --quiet -g grunt-cli karma bower
- npm install
- bower install

script: grunt

141 changes: 141 additions & 0 deletions glamJS_site/CHANGELOG.md
@@ -0,0 +1,141 @@
# 0.3.2 (2014-04-15)

## Features

* Updated to bootstrap 3 and ui-bootstrap 0.10 ([55682310](git@github.com:ngbp/ngbp/commit/55682310))

## Bug fixes

* Karma unit port changed to 9019 ([0c354e90](git@github.com:ngbp/ngbp/commit/0c354e90))
* Updated Travis links to new name ([3346a704](git@github.com:ngbp/ngbp/commit/3346a704))
* Typo in copy watch task. ([00834319](git@github.com:ngbp/ngbp/commit/00834319))
* Vendor assets were ignored during watch ([a94bb652](git@github.com:ngbp/ngbp/commit/a94bb652))




# 0.3.1 (2013-09-13)

## Features

* Page titles are now set via state objects ([33de8097](git@github.com:joshdmiller/ng-boilerplate/commit/33de8097))
* Append pkg.version to JS and CSS ([90e1b71f](git@github.com:joshdmiller/ng-boilerplate/commit/90e1b71f))
* Vendor CSS is copied and concatenated with the app's CSS ([dda8792c](git@github.com:joshdmiller/ng-boilerplate/commit/dda8792c))
* Vendor assets are copied to the build too ([29502bff](git@github.com:joshdmiller/ng-boilerplate/commit/29502bff))
* Treat JS in src/assets as assets (i.e. don't do anything with it) ([99b50751](git@github.com:joshdmiller/ng-boilerplate/commit/99b50751))
* Added PhantomJS support ([89acf5f6](git@github.com:joshdmiller/ng-boilerplate/commit/89acf5f6))
* Files for use only in testing are now configurable ([a04e663b](git@github.com:joshdmiller/ng-boilerplate/commit/a04e663b))

## Bug fixes

* CopyPasteException in index.html comments ([3a0596a7](git@github.com:joshdmiller/ng-boilerplate/commit/3a0596a7))
* Fixed typos in the README ([5ae95393](git@github.com:joshdmiller/ng-boilerplate/commit/5ae95393)), ([8c362208](git@github.com:joshdmiller/ng-boilerplate/commit/8c362208)), and ([6b617282](git@github.com:joshdmiller/ng-boilerplate/commit/6b617282))
* Vendor files were added to build twice ([09277b74](git@github.com:joshdmiller/ng-boilerplate/commit/09277b74))
* IE7 Font Awesome stylesheet pointed nowhere ([515673b1](git@github.com:joshdmiller/ng-boilerplate/commit/515673b1))

# 0.3.0 (2013-06-25)

## Features
### build

* split build into build+compile ([97fb290d](https://github.com/joshdmiller/ng-boilerplate/commits/97fb290d))
* Moved config to separate file ([ff5d8b58](https://github.com/joshdmiller/ng-boilerplate/commits/ff5d8b58))
* Added grunt-bump to ease releasing ([27312de1](https://github.com/joshdmiller/ng-boilerplate/commits/27312de1))
* Added changelog generation ([328d25d2](https://github.com/joshdmiller/ng-boilerplate/commits/328d25d2))
* karma config managed automatically ([3384b6fd](https://github.com/joshdmiller/ng-boilerplate/commits/3384b6fd))
* CoffeeScript support ([0f308f2f](https://github.com/joshdmiller/ng-boilerplate/commits/0f308f2f))

### *

* switched to ui-router for state mgmt ([7bec0378](https://github.com/joshdmiller/ng-boilerplate/commits/7bec0378))

## Bug fixes
### build

* Karma no longer hangs the watch (([f66cfcc6])(https://github.com/joshdmiller/ng-boilerplate/commits/f66cfcc6))



# 0.2.0 (2013-05-10)

## Features
### build

* live reload added through grunt-watch ([653df741](https://github.com/joshdmiller/ng-boilerplate/commits/653df741))

* Add grunt ng-min for annotation ([9c529ccb](https://github.com/joshdmiller/ng-boilerplate/commits/9c529ccb))

### *

* far better Bower integration ([864c2656](https://github.com/joshdmiller/ng-boilerplate/commits/864c2656))

* included AngularUI `utils` to use uiRoute ([df08e4be](https://github.com/joshdmiller/ng-boilerplate/commits/df08e4be))






# 0.1.0 (2013-03-11)

## Features
### *

* Initial application structure ([7c149227](https://github.com/joshdmiller/ng-boilerplate/commits/7c149227))

* improved navigation styling and added home page tpl ([e1a655e0](https://github.com/joshdmiller/ng-boilerplate/commits/e1a655e0))

### app

* added current route indication to menu with appropriate unit test ([14d35da8](https://github.com/joshdmiller/ng-boilerplate/commits/14d35da8))

### index

* improved navbar style and added additional links ([a7c4504c](https://github.com/joshdmiller/ng-boilerplate/commits/a7c4504c))

### about

* Added an about page with some descriptive content ([290704ab](https://github.com/joshdmiller/ng-boilerplate/commits/290704ab))

* Added placeholders demo to about page ([89a06e9f](https://github.com/joshdmiller/ng-boilerplate/commits/89a06e9f))

### titleService

* dynamic title support) ([3db6ec2b](https://github.com/joshdmiller/ng-boilerplate/commits/3db6ec2b))

* suffix is now customizable ([9f8b4c73](https://github.com/joshdmiller/ng-boilerplate/commits/9f8b4c73))

### activeIfCurrentDirective

* created directory to test for current route ([0ac1f4b4](https://github.com/joshdmiller/ng-boilerplate/commits/0ac1f4b4))

### home

* replaced placeholder text with mrktg copy ([dcaf7237](https://github.com/joshdmiller/ng-boilerplate/commits/dcaf7237))

* added google +1 button ([98d3312b](https://github.com/joshdmiller/ng-boilerplate/commits/98d3312b))



## Bug fixes
### build

* Removed unnecessary step from delta:unittest ([5ffbfd78](https://github.com/joshdmiller/ng-boilerplate/commits/5ffbfd78))

* delta tasks that concat must also uglify ([926983f8](https://github.com/joshdmiller/ng-boilerplate/commits/926983f8))

### test-config

* Change browser-name case, add browser list ([682b1ea4](https://github.com/joshdmiller/ng-boilerplate/commits/682b1ea4))

### home

* corrected typo in tweet button URL ([b9920eea](https://github.com/joshdmiller/ng-boilerplate/commits/b9920eea))

### testacular

* fixed typo in browser docstring ([11a60fa7](https://github.com/joshdmiller/ng-boilerplate/commits/11a60fa7))




0 comments on commit 2053383

Please sign in to comment.