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

7 years ago

0.0.0-c25

7 years ago

0.0.0-c24

7 years ago

0.0.0-c23

7 years ago

0.0.0-c22

7 years ago

0.0.0-c21

7 years ago

0.0.0-c20

7 years ago

0.0.0-c19

7 years ago

0.0.0-c18

7 years ago

0.0.0-c16

7 years ago

0.0.0-c15

7 years ago

0.0.0-c14

7 years ago

0.0.0-c13

7 years ago

0.0.0-c12

7 years ago

0.0.0-c11

7 years ago

0.0.0-c10

7 years ago

0.0.0-c09

7 years ago

0.0.0-c08

7 years ago

0.0.0-c07

7 years ago

0.0.0-c05

7 years ago

0.0.0-c04

7 years ago

0.0.0-c03

7 years ago

0.0.0-c02

7 years ago

0.0.0-c01

7 years ago

0.0.0-b99

7 years ago

0.0.0-b98

7 years ago

0.0.0-b97

7 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

8 years ago

0.0.0-a70

8 years ago

0.0.0-a69

8 years ago

0.0.0-a68

8 years ago

0.0.0-a67

8 years ago

0.0.0-a66

8 years ago

0.0.0-a65

8 years ago

0.0.0-a62

8 years ago

0.0.0-a61

8 years ago

0.0.0-a60

8 years ago

0.0.0-a59

8 years ago

0.0.0-a58

8 years ago

0.0.0-a57

8 years ago

0.0.0-a56

8 years ago

0.0.0-a55

8 years ago

0.0.0-a54

8 years ago

0.0.0-a53

8 years ago

0.0.0-a52

8 years ago

0.0.0-a51

8 years ago

0.0.0-a50

8 years ago

0.0.0-a49

8 years ago

0.0.0-a48

8 years ago

0.0.0-a47

8 years ago

0.0.0-a46

8 years ago

0.0.0-a45

8 years ago

0.0.0-a44

8 years ago

0.0.0-a43

8 years ago

0.0.0-a41

8 years ago

0.0.0-a40

8 years ago

0.0.0-a39

8 years ago

0.0.0-a38

8 years ago

0.0.0-a37

8 years ago

0.0.0-a36

8 years ago

0.0.0-a35

8 years ago

0.0.0-a34

8 years ago

0.0.0-a33

8 years ago

0.0.0-a32

8 years ago

0.0.0-a31

8 years ago

0.0.0-a30

8 years ago

0.0.0-a29

8 years ago

0.0.0-a28

8 years ago

0.0.0-a27

8 years ago

0.0.0-a26

8 years ago

0.0.0-a25

8 years ago

0.0.0-a24

8 years ago

0.0.0-a23

8 years ago

0.0.0-a22

8 years ago

0.0.0-a21

8 years ago

0.0.0-a20

8 years ago

0.0.0-a19

8 years ago

0.0.0-a17

8 years ago

0.0.0-a16

8 years ago

0.0.0-a15

8 years ago

0.0.0-a14

8 years ago

0.0.0-a13

8 years ago

0.0.0-a12

8 years ago

0.0.0-a11

8 years ago

0.0.0-a1

8 years ago

0.0.0-a

8 years ago

0.0.0

8 years ago

0.0.1

8 years ago