0.0.0-c32 โ€ข Published 6 years ago

meta-client v0.0.0-c32

Weekly downloads
7
License
ISC
Repository
github
Last release
6 years ago

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-clientmeta-console
npmnpm
npmnpm

Compatibility

VR Displays

Desktop

Mobile

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!

0.0.0-c32

6 years ago

0.0.0-c31

6 years ago

0.0.0-c29

6 years ago

0.0.0-c28

6 years ago

0.0.0-c27

6 years ago

0.0.0-c26

6 years ago

0.0.0-c25

6 years ago

0.0.0-c24

6 years ago

0.0.0-c23

6 years ago

0.0.0-c22

6 years ago

0.0.0-c21

6 years ago

0.0.0-c20

6 years ago

0.0.0-c19

6 years ago

0.0.0-c18

6 years ago

0.0.0-c16

6 years ago

0.0.0-c15

6 years ago

0.0.0-c14

6 years ago

0.0.0-c13

6 years ago

0.0.0-c12

6 years ago

0.0.0-c11

6 years ago

0.0.0-c10

6 years ago

0.0.0-c09

6 years ago

0.0.0-c08

6 years ago

0.0.0-c07

6 years ago

0.0.0-c05

6 years ago

0.0.0-c04

6 years ago

0.0.0-c03

6 years ago

0.0.0-c02

6 years ago

0.0.0-c01

6 years ago

0.0.0-b99

6 years ago

0.0.0-b98

6 years ago

0.0.0-b97

6 years ago

0.0.0-b96

7 years ago

0.0.0-b95

7 years ago

0.0.0-b94

7 years ago

0.0.0-b93

7 years ago

0.0.0-b92

7 years ago

0.0.0-b91

7 years ago

0.0.0-b90

7 years ago

0.0.0-b89

7 years ago

0.0.0-b88

7 years ago

0.0.0-b87

7 years ago

0.0.0-b86

7 years ago

0.0.0-b85

7 years ago

0.0.0-b84

7 years ago

0.0.0-b83

7 years ago

0.0.0-b82

7 years ago

0.0.0-b81

7 years ago

0.0.0-b80

7 years ago

0.0.0-b79

7 years ago

0.0.0-b78

7 years ago

0.0.0-b77

7 years ago

0.0.0-b76

7 years ago

0.0.0-b75

7 years ago

0.0.0-b74

7 years ago

0.0.0-b73

7 years ago

0.0.0-b72

7 years ago

0.0.0-b71

7 years ago

0.0.0-b70

7 years ago

0.0.0-b69

7 years ago

0.0.0-b68

7 years ago

0.0.0-b67

7 years ago

0.0.0-b66

7 years ago

0.0.0-b65

7 years ago

0.0.0-b64

7 years ago

0.0.0-b63

7 years ago

0.0.0-b62

7 years ago

0.0.0-b61

7 years ago

0.0.0-b60

7 years ago

0.0.0-b59

7 years ago

0.0.0-b58

7 years ago

0.0.0-b57

7 years ago

0.0.0-b56

7 years ago

0.0.0-b55

7 years ago

0.0.0-b54

7 years ago

0.0.0-b53

7 years ago

0.0.0-b52

7 years ago

0.0.0-b51

7 years ago

0.0.0-b50

7 years ago

0.0.0-b49

7 years ago

0.0.0-b48

7 years ago

0.0.0-b47

7 years ago

0.0.0-b46

7 years ago

0.0.0-b45

7 years ago

0.0.0-b44

7 years ago

0.0.0-b43

7 years ago

0.0.0-b42

7 years ago

0.0.0-b41

7 years ago

0.0.0-b40

7 years ago

0.0.0-b39

7 years ago

0.0.0-b38

7 years ago

0.0.0-b37

7 years ago

0.0.0-b36

7 years ago

0.0.0-b35

7 years ago

0.0.0-b34

7 years ago

0.0.0-b33

7 years ago

0.0.0-b32

7 years ago

0.0.0-b30

7 years ago

0.0.0-b29

7 years ago

0.0.0-b28

7 years ago

0.0.0-b27

7 years ago

0.0.0-b26

7 years ago

0.0.0-b25

7 years ago

0.0.0-b24

7 years ago

0.0.0-b23

7 years ago

0.0.0-b22

7 years ago

0.0.0-b21

7 years ago

0.0.0-b20

7 years ago

0.0.0-b19

7 years ago

0.0.0-b18

7 years ago

0.0.0-b17

7 years ago

0.0.0-b16

7 years ago

0.0.0-b15

7 years ago

0.0.0-b14

7 years ago

0.0.0-b13

7 years ago

0.0.0-b12

7 years ago

0.0.0-b11

7 years ago

0.0.0-a05

7 years ago

0.0.0-b10

7 years ago

0.0.0-b09

7 years ago

0.0.0-b08

7 years ago

0.0.0-b07

7 years ago

0.0.0-b06

7 years ago

0.0.0-b05

7 years ago

0.0.0-b04

7 years ago

0.0.0-b03

7 years ago

0.0.0-b02

7 years ago

0.0.0-b01

7 years ago

0.0.0-a99

7 years ago

0.0.0-a98

7 years ago

0.0.0-a97

7 years ago

0.0.0-a96

7 years ago

0.0.0-a95

7 years ago

0.0.0-a94

7 years ago

0.0.0-a93

7 years ago

0.0.0-a91

7 years ago

0.0.0-a90

7 years ago

0.0.0-a89

7 years ago

0.0.0-a88

7 years ago

0.0.0-a87

7 years ago

0.0.0-a86

7 years ago

0.0.0-a85

7 years ago

0.0.0-a84

7 years ago

0.0.0-a83

7 years ago

0.0.0-a82

7 years ago

0.0.0-a81

7 years ago

0.0.0-a80

7 years ago

0.0.0-a79

7 years ago

0.0.0-a78

7 years ago

0.0.0-a77

7 years ago

0.0.0-a76

7 years ago

0.0.0-a75

7 years ago

0.0.0-a74

7 years ago

0.0.0-a73

7 years ago

0.0.0-a72

7 years ago

0.0.0-a71

7 years ago

0.0.0-a70

7 years ago

0.0.0-a69

7 years ago

0.0.0-a68

7 years ago

0.0.0-a67

7 years ago

0.0.0-a66

7 years ago

0.0.0-a65

7 years ago

0.0.0-a62

7 years ago

0.0.0-a61

7 years ago

0.0.0-a60

7 years ago

0.0.0-a59

7 years ago

0.0.0-a58

7 years ago

0.0.0-a57

7 years ago

0.0.0-a56

7 years ago

0.0.0-a55

7 years ago

0.0.0-a54

7 years ago

0.0.0-a53

7 years ago

0.0.0-a52

7 years ago

0.0.0-a51

7 years ago

0.0.0-a50

7 years ago

0.0.0-a49

7 years ago

0.0.0-a48

7 years ago

0.0.0-a47

7 years ago

0.0.0-a46

7 years ago

0.0.0-a45

7 years ago

0.0.0-a44

7 years ago

0.0.0-a43

7 years ago

0.0.0-a41

7 years ago

0.0.0-a40

7 years ago

0.0.0-a39

7 years ago

0.0.0-a38

7 years ago

0.0.0-a37

7 years ago

0.0.0-a36

7 years ago

0.0.0-a35

7 years ago

0.0.0-a34

7 years ago

0.0.0-a33

7 years ago

0.0.0-a32

7 years ago

0.0.0-a31

7 years ago

0.0.0-a30

7 years ago

0.0.0-a29

7 years ago

0.0.0-a28

7 years ago

0.0.0-a27

7 years ago

0.0.0-a26

7 years ago

0.0.0-a25

7 years ago

0.0.0-a24

7 years ago

0.0.0-a23

7 years ago

0.0.0-a22

7 years ago

0.0.0-a21

7 years ago

0.0.0-a20

7 years ago

0.0.0-a19

7 years ago

0.0.0-a17

7 years ago

0.0.0-a16

7 years ago

0.0.0-a15

7 years ago

0.0.0-a14

7 years ago

0.0.0-a13

7 years ago

0.0.0-a12

7 years ago

0.0.0-a11

7 years ago

0.0.0-a1

7 years ago

0.0.0-a

7 years ago

0.0.0

7 years ago

0.0.1

7 years ago