Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aexol/aexolgl-js
https://github.com/aexol/aexolgl-js
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/aexol/aexolgl-js
- Owner: aexol
- Created: 2014-12-15T09:17:30.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-11-13T10:15:54.000Z (about 9 years ago)
- Last Synced: 2024-11-30T23:11:26.521Z (about 2 months ago)
- Language: JavaScript
- Homepage: http://aexol.github.io/aexolgl-js/
- Size: 1.92 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
aexolgl-js
==========
Create browser games to be run on any platform possible and of course expand your 3d business on internet websites. AexolGL Web engine is a open source free 3d game engine. It runs directly on your website without ANY plugins. Display your 3d content on personal or corporate website. Make 3d browser games that work on PC, MAC, Linux, Android Code in most popular language in the world - JavascriptQuick Start
==========
Here is a quick example to get started
```javascript
var setup = function() {
world = new Scene();
camera = new Camera(0.1, 100, 45)
camera.setLookAt(new Vector(17,0,0),new Vector(0,0,0),new Vector(0,1,0))
}
var logic = function() {
if (!gamePaused) {
// DO SOMETHING RUNTIME
}
}
var draw = function() {
world.draw(camera)
}
// agl is canvas id
app = AexolGL("agl",{
setup:setup,
logic:logic,
draw:draw
})
```