meta-client
Meta.js (Client)
Last updated a year ago by cheesyeyes .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install meta-client 
SYNC missed versions from official npm registry.

Meta.js ????‍????

Accessible Javascript Library For Virtual Reality ????

Latest NPM release Build Status Dependencies https://metajs.org

???? Features

  • ???? Learn how to create and use code virtual (reality) space in minutes.
  • ???? Code virtual reality like its the year you live in.
  • ???????? Write in the language you know with the tools you love.
  • ???? Write one version of your code that works on any device (HTC Vive, Oculus Rift, Desktop, Mobile, etc.).
  • ???? Grab a cube now, move a castle soon!

???? Why (did you come up with this)?

Spatial media like Virtual Reality or Augmented Reality is perceived in such a fundamentally different way than computer graphics as we know them that we need to find new ways to describe it. This is an approach.

Furthermore this is an attempt to create the most accessible virtual reality library possible.

???? Example

This example is written in three lines that can't be anymore intuitive.


import {Ground, Cube, on} from 'meta-client';

new Ground();

on('touch', (data) => new Cube().set(data.position));

????‍???? Usage

Custom start within minutes:

You need to have Node.js (https://nodejs.org) installed.

(If you don't know how to use the terminal watch this.)

  1. Create a new directory and enter it.
mkdir meta && cd meta
  1. Initialize a npm repository and install Parcel-Bundler and Meta.
npm init && npm install parcel-bundler meta-client
  1. Create a index.html and a index.js file.
touch index.html index.js
  1. Add the following into index.html.
<html>
<body>
  <script src="./index.js"></script>
</body>
</html>
  1. Add the following into index.js.
import {Ground, Cube, on} from 'meta-client';

new Ground();

on('touch', (data) => new Cube().set(data.position));
  1. Start:
parcel index.html

Open http://localhost:1234/ in your browser.

One Line

Alternatively you can also put all steps together in a single line like this:

touch index.html index.js && echo '<html><body><script src="./index.js"></script></body></html>' >> ./index.html && echo "import {Ground, Cube, on} from 'meta-client';\nnew Ground();\non('touch', (data) => new Cube().set(data.position));" >> ./index.js && npm init -y && npm i parcel-bundler meta-client && parcel index.html

???????? How to use the examples

It can be very useful to start with a working example.

To use the examples clone a full copy of Meta.js:

git clone https://github.com/florianmaxim/meta

Navigate to the examples directory:

cd meta/examples

Select the example you want to work with:

cd 1

Install and start the example:

npm start

???? Custom installation

git clone https://github.com/florianmaxim/meta
npm install
npm run build

???? Wiki

Read the Wiki to learn how to use Meta.js.

???? Docs

Read the full code documentation.

???? Slack

Join the Slack channel to talk about (virtual) space.

Packages

meta-client meta-console
npm npm
npm npm

Compatibility

VR Displays

Browser Version HTC Vive
Chromium 67.0.3371.0
Chrome 65.0.3325.162
Firefox Nightly 61.0a1

Desktop

Browser Version Status
Chrome 67.0.3396.99

Mobile

Browser Version Status
Chrome

Credits ????

As any other software this is based on thousands of layers of programming abstraction. The upper layers on which this is build on are Three.js (Javascript 3D library) and Oimo.js (Javascript physics engine).

References & Inspiration ????

I probably learned most about space from Walter Lewin.

I probably learned most about toys from Julian Summer Miller.

That's basically what brought me here.

License ????

MIT

Manifesto ????

Let's start to redefine space!

Current Tags

  • 0.0.0-c32                                ...           latest (a year ago)

216 Versions

  • 0.0.0-c32                                ...           a year ago
  • 0.0.0-c31                                ...           a year ago
  • 0.0.0-c29                                ...           a year ago
  • 0.0.0-c28                                ...           a year ago
  • 0.0.0-c27                                ...           a year ago
  • 0.0.0-c26                                ...           a year ago
  • 0.0.0-c25                                ...           a year ago
  • 0.0.0-c24                                ...           a year ago
  • 0.0.0-c23                                ...           a year ago
  • 0.0.0-c22                                ...           a year ago
  • 0.0.0-c21                                ...           a year ago
  • 0.0.0-c20                                ...           a year ago
  • 0.0.0-c19                                ...           a year ago
  • 0.0.0-c18                                ...           a year ago
  • 0.0.0-c16                                ...           a year ago
  • 0.0.0-c15                                ...           a year ago
  • 0.0.0-c14                                ...           a year ago
  • 0.0.0-c13                                ...           a year ago
  • 0.0.0-c12                                ...           a year ago
  • 0.0.0-c11                                ...           a year ago
  • 0.0.0-c10                                ...           a year ago
  • 0.0.0-c09                                ...           a year ago
  • 0.0.0-c08                                ...           a year ago
  • 0.0.0-c07                                ...           a year ago
  • 0.0.0-c05                                ...           a year ago
  • 0.0.0-c04                                ...           a year ago
  • 0.0.0-c03                                ...           a year ago
  • 0.0.0-c02                                ...           a year ago
  • 0.0.0-c01                                ...           a year ago
  • 0.0.0-b99                                ...           a year ago
  • 0.0.0-b98                                ...           a year ago
  • 0.0.0-b97                                ...           a year ago
  • 0.0.0-b96                                ...           2 years ago
  • 0.0.0-b95                                ...           2 years ago
  • 0.0.0-b94                                ...           2 years ago
  • 0.0.0-b93                                ...           2 years ago
  • 0.0.0-b92                                ...           2 years ago
  • 0.0.0-b91                                ...           2 years ago
  • 0.0.0-b90                                ...           2 years ago
  • 0.0.0-b89                                ...           2 years ago
  • 0.0.0-b88                                ...           2 years ago
  • 0.0.0-b87                                ...           2 years ago
  • 0.0.0-b86                                ...           2 years ago
  • 0.0.0-b85                                ...           2 years ago
  • 0.0.0-b84                                ...           2 years ago
  • 0.0.0-b83                                ...           2 years ago
  • 0.0.0-b82                                ...           2 years ago
  • 0.0.0-b81                                ...           2 years ago
  • 0.0.0-b80                                ...           2 years ago
  • 0.0.0-b79                                ...           2 years ago
  • 0.0.0-b78                                ...           2 years ago
  • 0.0.0-b77                                ...           2 years ago
  • 0.0.0-b76                                ...           2 years ago
  • 0.0.0-b75                                ...           2 years ago
  • 0.0.0-b74                                ...           2 years ago
  • 0.0.0-b73                                ...           2 years ago
  • 0.0.0-b72                                ...           2 years ago
  • 0.0.0-b71                                ...           2 years ago
  • 0.0.0-b70                                ...           2 years ago
  • 0.0.0-b69                                ...           2 years ago
  • 0.0.0-b68                                ...           2 years ago
  • 0.0.0-b67                                ...           2 years ago
  • 0.0.0-b66                                ...           2 years ago
  • 0.0.0-b65                                ...           2 years ago
  • 0.0.0-b64                                ...           2 years ago
  • 0.0.0-b63                                ...           2 years ago
  • 0.0.0-b62                                ...           2 years ago
  • 0.0.0-b61                                ...           2 years ago
  • 0.0.0-b60                                ...           2 years ago
  • 0.0.0-b59                                ...           2 years ago
  • 0.0.0-b58                                ...           2 years ago
  • 0.0.0-b57                                ...           2 years ago
  • 0.0.0-b56                                ...           2 years ago
  • 0.0.0-b55                                ...           2 years ago
  • 0.0.0-b54                                ...           2 years ago
  • 0.0.0-b53                                ...           2 years ago
  • 0.0.0-b52                                ...           2 years ago
  • 0.0.0-b51                                ...           2 years ago
  • 0.0.0-b50                                ...           2 years ago
  • 0.0.0-b49                                ...           2 years ago
  • 0.0.0-b48                                ...           2 years ago
  • 0.0.0-b47                                ...           2 years ago
  • 0.0.0-b46                                ...           2 years ago
  • 0.0.0-b45                                ...           2 years ago
  • 0.0.0-b44                                ...           2 years ago
  • 0.0.0-b43                                ...           2 years ago
  • 0.0.0-b42                                ...           2 years ago
  • 0.0.0-b41                                ...           2 years ago
  • 0.0.0-b40                                ...           2 years ago
  • 0.0.0-b39                                ...           2 years ago
  • 0.0.0-b38                                ...           2 years ago
  • 0.0.0-b37                                ...           2 years ago
  • 0.0.0-b36                                ...           2 years ago
  • 0.0.0-b35                                ...           2 years ago
  • 0.0.0-b34                                ...           2 years ago
  • 0.0.0-b33                                ...           2 years ago
  • 0.0.0-b32                                ...           2 years ago
  • 0.0.0-b30                                ...           2 years ago
  • 0.0.0-b29                                ...           2 years ago
  • 0.0.0-b28                                ...           2 years ago
  • 0.0.0-b27                                ...           2 years ago
  • 0.0.0-b26                                ...           2 years ago
  • 0.0.0-b25                                ...           2 years ago
  • 0.0.0-b24                                ...           2 years ago
  • 0.0.0-b23                                ...           2 years ago
  • 0.0.0-b22                                ...           2 years ago
  • 0.0.0-b21                                ...           2 years ago
  • 0.0.0-b20                                ...           2 years ago
  • 0.0.0-b19                                ...           2 years ago
  • 0.0.0-b18                                ...           2 years ago
  • 0.0.0-b17                                ...           2 years ago
  • 0.0.0-b16                                ...           2 years ago
  • 0.0.0-b15                                ...           2 years ago
  • 0.0.0-b14                                ...           2 years ago
  • 0.0.0-b13                                ...           2 years ago
  • 0.0.0-b12                                ...           2 years ago
  • 0.0.0-b11                                ...           2 years ago
  • 0.0.0-a05                                ...           2 years ago
  • 0.0.0-b10                                ...           2 years ago
  • 0.0.0-b09                                ...           2 years ago
  • 0.0.0-b08                                ...           2 years ago
  • 0.0.0-b07                                ...           2 years ago
  • 0.0.0-b06                                ...           2 years ago
  • 0.0.0-b05                                ...           2 years ago
  • 0.0.0-b04                                ...           2 years ago
  • 0.0.0-b03                                ...           2 years ago
  • 0.0.0-b02                                ...           2 years ago
  • 0.0.0-b01                                ...           2 years ago
  • 0.0.0-a99                                ...           2 years ago
  • 0.0.0-a98                                ...           2 years ago
  • 0.0.0-a97                                ...           2 years ago
  • 0.0.0-a96                                ...           2 years ago
  • 0.0.0-a95                                ...           2 years ago
  • 0.0.0-a94                                ...           2 years ago
  • 0.0.0-a93                                ...           2 years ago
  • 0.0.0-a91                                ...           2 years ago
  • 0.0.0-a90                                ...           2 years ago
  • 0.0.0-a89                                ...           2 years ago
  • 0.0.0-a88                                ...           2 years ago
  • 0.0.0-a87                                ...           2 years ago
  • 0.0.0-a86                                ...           2 years ago
  • 0.0.0-a85                                ...           2 years ago
  • 0.0.0-a84                                ...           2 years ago
  • 0.0.0-a83                                ...           2 years ago
  • 0.0.0-a82                                ...           2 years ago
  • 0.0.0-a81                                ...           2 years ago
  • 0.0.0-a80                                ...           2 years ago
  • 0.0.0-a79                                ...           2 years ago
  • 0.0.0-a78                                ...           2 years ago
  • 0.0.0-a77                                ...           2 years ago
  • 0.0.0-a76                                ...           2 years ago
  • 0.0.0-a75                                ...           2 years ago
  • 0.0.0-a74                                ...           2 years ago
  • 0.0.0-a73                                ...           2 years ago
  • 0.0.0-a72                                ...           2 years ago
  • 0.0.0-a71                                ...           2 years ago
  • 0.0.0-a70                                ...           2 years ago
  • 0.0.0-a69                                ...           2 years ago
  • 0.0.0-a68                                ...           2 years ago
  • 0.0.0-a67                                ...           2 years ago
  • 0.0.0-a66                                ...           2 years ago
  • 0.0.0-a65                                ...           2 years ago
  • 0.0.0-a62                                ...           2 years ago
  • 0.0.0-a61                                ...           2 years ago
  • 0.0.0-a60                                ...           2 years ago
  • 0.0.0-a59                                ...           2 years ago
  • 0.0.0-a58                                ...           2 years ago
  • 0.0.0-a57                                ...           2 years ago
  • 0.0.0-a56                                ...           2 years ago
  • 0.0.0-a55                                ...           2 years ago
  • 0.0.0-a54                                ...           2 years ago
  • 0.0.0-a53                                ...           2 years ago
  • 0.0.0-a52                                ...           2 years ago
  • 0.0.0-a51                                ...           2 years ago
  • 0.0.0-a50                                ...           2 years ago
  • 0.0.0-a49                                ...           2 years ago
  • 0.0.0-a48                                ...           2 years ago
  • 0.0.0-a47                                ...           2 years ago
  • 0.0.0-a46                                ...           2 years ago
  • 0.0.0-a45                                ...           2 years ago
  • 0.0.0-a44                                ...           2 years ago
  • 0.0.0-a43                                ...           2 years ago
  • 0.0.0-a41                                ...           2 years ago
  • 0.0.0-a40                                ...           2 years ago
  • 0.0.0-a39                                ...           2 years ago
  • 0.0.0-a38                                ...           2 years ago
  • 0.0.0-a37                                ...           2 years ago
  • 0.0.0-a36                                ...           2 years ago
  • 0.0.0-a35                                ...           2 years ago
  • 0.0.0-a34                                ...           2 years ago
  • 0.0.0-a33                                ...           2 years ago
  • 0.0.0-a32                                ...           2 years ago
  • 0.0.0-a31                                ...           2 years ago
  • 0.0.0-a30                                ...           2 years ago
  • 0.0.0-a29                                ...           2 years ago
  • 0.0.0-a28                                ...           2 years ago
  • 0.0.0-a27                                ...           2 years ago
  • 0.0.0-a26                                ...           2 years ago
  • 0.0.0-a25                                ...           2 years ago
  • 0.0.0-a24                                ...           2 years ago
  • 0.0.0-a23                                ...           2 years ago
  • 0.0.0-a22                                ...           2 years ago
  • 0.0.0-a21                                ...           2 years ago
  • 0.0.0-a20                                ...           2 years ago
  • 0.0.0-a19                                ...           2 years ago
  • 0.0.0-a17                                ...           2 years ago
  • 0.0.0-a16                                ...           2 years ago
  • 0.0.0-a14                                ...           2 years ago
  • 0.0.0-a15                                ...           2 years ago
  • 0.0.0-a13                                ...           2 years ago
  • 0.0.0-a12                                ...           2 years ago
  • 0.0.0-a11                                ...           3 years ago
  • 0.0.0-a1                                ...           3 years ago
  • 0.0.0-a                                ...           3 years ago
  • 0.0.0                                ...           3 years ago
  • 0.0.1                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 0
Last Month 216
Dependencies (2)
Dev Dependencies (5)

Copyright 2014 - 2016 © taobao.org |