Skip to content

Commit 65c8a4c

Browse files
committed
initial commit
Signed-off-by: Jan Fischer <[email protected]>
1 parent f02d954 commit 65c8a4c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+37662
-0
lines changed

.gitignore

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/pack.php
2+
/todo.txt
3+
/nbproject/private/
4+
nbproject
5+
/index.html

README.md

+25
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,28 @@ CSS3D
22
=====
33

44
CSS 3D engine
5+
6+
### Features
7+
* No need for browser prefixes
8+
* Shading
9+
* Because a matrix is calculated for every element it works in IE10, too
10+
* Full camera movements
11+
* Import obj files
12+
* matrix4, quaternion, vector3, vector4
13+
* Different interpolations
14+
* Render loop with requestAnimationFrame and callback
15+
* Easy setup and progressive enhancement
16+
* No dependency to other javascript libraries
17+
18+
```javascript
19+
var engine = new css3d(document.getElementById('container'));
20+
var scene = new css3d.scene();
21+
var content = new css3d.element(document.getElementById('content'));
22+
content.setRotationXYZ(Math.PI / 8, 0, 0);
23+
scene.addElement(content);
24+
engine.setScene(scene);
25+
engine.update().render();
26+
```
27+
28+
### More infos
29+
http://css3d.bitworking.de/

docs/camera.html

+285
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,285 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8">
5+
<title>JSDoc: Class: camera</title>
6+
7+
<script src="scripts/prettify/prettify.js"> </script>
8+
<script src="scripts/prettify/lang-css.js"> </script>
9+
<!--[if lt IE 9]>
10+
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
11+
<![endif]-->
12+
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
13+
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
14+
</head>
15+
16+
<body>
17+
18+
<div id="main">
19+
20+
<h1 class="page-title">Class: camera</h1>
21+
22+
23+
24+
25+
26+
<section>
27+
28+
<header>
29+
<h2>
30+
camera
31+
</h2>
32+
33+
</header>
34+
35+
<article>
36+
<div class="container-overview">
37+
38+
39+
40+
41+
<dt>
42+
<h4 class="name" id="camera"><span class="type-signature"></span>new camera<span class="signature">(x, y, z, perspective)</span><span class="type-signature"> &rarr; {<a href="css3d.camera.html">css3d.camera</a>}</span></h4>
43+
44+
45+
</dt>
46+
<dd>
47+
48+
49+
50+
51+
52+
53+
54+
55+
<h5>Parameters:</h5>
56+
57+
58+
<table class="params">
59+
<thead>
60+
<tr>
61+
62+
<th>Name</th>
63+
64+
65+
<th>Type</th>
66+
67+
68+
69+
70+
71+
<th class="last">Description</th>
72+
</tr>
73+
</thead>
74+
75+
<tbody>
76+
77+
78+
<tr>
79+
80+
<td class="name"><code>x</code></td>
81+
82+
83+
<td class="type">
84+
85+
86+
<span class="param-type">Number</span>
87+
88+
89+
90+
</td>
91+
92+
93+
94+
95+
96+
<td class="description last"></td>
97+
</tr>
98+
99+
100+
101+
<tr>
102+
103+
<td class="name"><code>y</code></td>
104+
105+
106+
<td class="type">
107+
108+
109+
<span class="param-type">Number</span>
110+
111+
112+
113+
</td>
114+
115+
116+
117+
118+
119+
<td class="description last"></td>
120+
</tr>
121+
122+
123+
124+
<tr>
125+
126+
<td class="name"><code>z</code></td>
127+
128+
129+
<td class="type">
130+
131+
132+
<span class="param-type">Number</span>
133+
134+
135+
136+
</td>
137+
138+
139+
140+
141+
142+
<td class="description last"></td>
143+
</tr>
144+
145+
146+
147+
<tr>
148+
149+
<td class="name"><code>perspective</code></td>
150+
151+
152+
<td class="type">
153+
154+
155+
<span class="param-type">Number</span>
156+
157+
158+
159+
</td>
160+
161+
162+
163+
164+
165+
<td class="description last"></td>
166+
</tr>
167+
168+
169+
</tbody>
170+
</table>
171+
172+
173+
174+
<dl class="details">
175+
176+
177+
178+
179+
180+
181+
182+
183+
184+
185+
186+
187+
188+
189+
190+
191+
192+
193+
194+
<dt class="tag-source">Source:</dt>
195+
<dd class="tag-source"><ul class="dummy"><li>
196+
<a href="css3d.camera.js.html">css3d.camera.js</a>, <a href="css3d.camera.js.html#line11">line 11</a>
197+
</li></ul></dd>
198+
199+
200+
201+
202+
203+
204+
205+
</dl>
206+
207+
208+
209+
210+
211+
212+
213+
214+
215+
216+
217+
218+
219+
<h5>Returns:</h5>
220+
221+
222+
223+
224+
<dl>
225+
<dt>
226+
Type
227+
</dt>
228+
<dd>
229+
230+
<span class="param-type"><a href="css3d.camera.html">css3d.camera</a></span>
231+
232+
233+
</dd>
234+
</dl>
235+
236+
237+
238+
239+
</dd>
240+
241+
242+
</div>
243+
244+
245+
246+
247+
248+
249+
250+
251+
252+
253+
254+
255+
256+
257+
258+
259+
260+
261+
262+
263+
</article>
264+
265+
</section>
266+
267+
268+
269+
270+
</div>
271+
272+
<nav>
273+
<h2><a href="index.html">Index</a></h2><h3>Classes</h3><ul><li><a href="camera.html">camera</a></li><li><a href="css3d.html">css3d</a></li></ul><h3>Namespaces</h3><ul><li><a href="css3d.ajax.html">ajax</a></li></ul>
274+
</nav>
275+
276+
<br clear="both">
277+
278+
<footer>
279+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-alpha9</a> on Tue Jul 08 2014 17:34:38 GMT+0200 (Mitteleuropäische Sommerzeit)
280+
</footer>
281+
282+
<script> prettyPrint(); </script>
283+
<script src="scripts/linenumber.js"> </script>
284+
</body>
285+
</html>

0 commit comments

Comments
 (0)