Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/giulioz/solarsystem
Assignment for Javascript course
https://github.com/giulioz/solarsystem
html5 threejs typescript webgl
Last synced: 6 days ago
JSON representation
Assignment for Javascript course
- Host: GitHub
- URL: https://github.com/giulioz/solarsystem
- Owner: giulioz
- Created: 2018-03-24T09:58:47.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2020-04-26T17:38:01.000Z (almost 5 years ago)
- Last Synced: 2024-12-19T23:17:38.094Z (2 months ago)
- Topics: html5, threejs, typescript, webgl
- Language: TypeScript
- Size: 5.53 MB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SolarSystem
Assignment for Javascript course.Test it here: https://rawgit.com/giulioz/SolarSystem/master/dist/index.html
## Usage
The project is already compiled in the *dist* folder, you must serve it using a web server. To start a web server type:
```
npm install
npm test
```
This will start the web server listening at port 8080.### Compiling
The project is written in Typescript, it must be compiled after editing:
```
npm install --only=dev
npm run-script build
```## Description
- ``app.ts`` is the main application file
- ``BaseApplication.ts`` contains general-purpose THREE.js application abstract class (boilerplate code)
- ``PlanetObjects.ts`` contains the planet classes
- ``OrbitControls.ts`` is a Typescript port of THREE.js OrbitControls
- ``stats.ts`` is a Typescript port of an fps counter