0.0.0-a01 • Published 7 years ago
meta-core v0.0.0-a01
🏝 Meta - The (Virtual) Space Library 👩🚀 🚀
The Javascript Library For Shared Virtual Reality. Dive right in @ metajs.org
Write one code for any device. (HTC Vive, Oculus Rift, Desktop, Smartphone, etc.)
Usage 👩🚀
import {Space, Ground, Grid, Sphere, on} from 'meta-client';
new Space({color:0xff0000})
new Ground({color:0x0000ff});
new Grid({color:0x000000});
space.on('touch', (there) => new Sphere().set(there));
📖 Docs (http://meta.camp)
The full documentation on Meta.js.
💬 Slack (https://metajsorg.slack.com)
Talk about space.
🤖 Requirements
Meta requires NodeJS (https://nodejs.org).
🎉 Installation
Quick (Using Meta-Kit):
git clone https://github.com/cheesyeyes/meta-kit
cd meta-kit
npm install
npm run build && npm run start
Open your browser and visit "localhost:5000".
Via NPM
npm install meta-client
npm install
npm run build && npm run start
Custom
git clone https://github.com/cheesyeyes/meta
npm install
npm run build && npm start
Usage
Open src/public/index.js:
import {Cube} from 'meta-client'
new Cube();
Thats all you need to create a cube in VR. Two lines.
Credits
Thanks to Mr Doob and all the others who made threeJS happen.
References & Inspiration
I have two main sources of inspiration:
I probably leanred most about space from Walter Lewin.
I probably learned most about Toys from Julian Summer Miller.
License
MIT
Manifesto
Let's start to redefine space!
Colors
(240,142,145), (137,137,137)