Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ionic-team/ionic-starter-cardboard
A google cardboard template for Ionic
https://github.com/ionic-team/ionic-starter-cardboard
Last synced: about 1 month ago
JSON representation
A google cardboard template for Ionic
- Host: GitHub
- URL: https://github.com/ionic-team/ionic-starter-cardboard
- Owner: ionic-team
- Archived: true
- Created: 2015-10-13T15:27:27.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-11-02T17:49:42.000Z (about 9 years ago)
- Last Synced: 2024-09-26T16:41:27.937Z (about 1 month ago)
- Language: JavaScript
- Size: 3.73 MB
- Stars: 113
- Watchers: 27
- Forks: 25
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Ionic Cardboard
Use Ionic, Three.js and WebGL to build a Google Cardboard app as part of the [Angular Cardboard Hackathon](https://angular.io/cardboard/). To get started, install the ionic and cordova CLI tools:
```bash
$ sudo npm install -g ionic cordova
$ ionic start myApp cardboard
```Next, we should modify the `config.xml` file to force the app to be in landscape mode. Add this line anywhere inside of ``:
```xml
```Then, to run it, cd into `myApp` and run:
```bash
$ ionic platform add ios
$ ionic build ios
$ ionic emulate ios
```Substitute ios for android if you'd like to target android instead. The iOS toolchain only works on a Mac, though it can be a bit faster to get up and running with for testing.