All Projects → michaltakac → Mathworldvr

michaltakac / Mathworldvr

Licence: mit
Math world in WebVR, powered by A-frame.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Mathworldvr

A Painter
🎨 Paint in VR in your browser.
Stars: ✭ 539 (+638.36%)
Mutual labels:  aframe, virtual-reality, webvr
Aframe Persist Component
Persisting Aframe attribute data using localStorage
Stars: ✭ 10 (-86.3%)
Mutual labels:  aframe, virtual-reality, webvr
Aframe React
:atom: Build virtual reality experiences with A-Frame and React.
Stars: ✭ 1,199 (+1542.47%)
Mutual labels:  aframe, virtual-reality, webvr
Ideaspace
😎 Create interactive 3D and VR web experiences for desktop, mobile & VR devices
Stars: ✭ 344 (+371.23%)
Mutual labels:  aframe, virtual-reality, webvr
Webxr Webpack Boilerplate
Starter Kit for building rich, immersive WebXR projects (featuring A-Frame) PWA with Webpack and SASS
Stars: ✭ 48 (-34.25%)
Mutual labels:  webpack, aframe, webvr
Aframe Inspector
🔍 Visual inspector tool for A-Frame. Hit *<ctrl> + <alt> + i* on any A-Frame scene.
Stars: ✭ 469 (+542.47%)
Mutual labels:  aframe, virtual-reality, webvr
Networked Aframe
A web framework for building multi-user virtual reality experiences.
Stars: ✭ 803 (+1000%)
Mutual labels:  aframe, virtual-reality, webvr
Awesome Aframe
[DISCONTINUED] Collection of awesome resources for the A-Frame WebVR framework.
Stars: ✭ 1,310 (+1694.52%)
Mutual labels:  aframe, virtual-reality, webvr
a-blast
💥 Save the World From the Cutest Creatures in the Universe!
Stars: ✭ 116 (+58.9%)
Mutual labels:  webvr, aframe, virtual-reality
Aframe
🅰️ web framework for building virtual reality experiences.
Stars: ✭ 13,428 (+18294.52%)
Mutual labels:  aframe, virtual-reality, webvr
Superframe
📦 A super collection of A-Frame components.
Stars: ✭ 1,061 (+1353.42%)
Mutual labels:  aframe, virtual-reality, webvr
lvr
👓 Augmented Reality for everyone - Out of the world experiences
Stars: ✭ 92 (+26.03%)
Mutual labels:  webvr, aframe, virtual-reality
aframe-registry
[DISCONTINUED] Curated collection of community A-Frame components.
Stars: ✭ 76 (+4.11%)
Mutual labels:  webvr, aframe, virtual-reality
Aframe Physics System
Physics system for A-Frame VR, built on CANNON.js.
Stars: ✭ 371 (+408.22%)
Mutual labels:  aframe, webvr
Moonrider
🌕🏄🏿 Surf the musical road among the stars. Side project built by two people in a few months to demonstrate WebXR.
Stars: ✭ 292 (+300%)
Mutual labels:  aframe, webvr
Calcflow
A virtual reality tool for mathematical modeling!
Stars: ✭ 471 (+545.21%)
Mutual labels:  mathematics, virtual-reality
Aframe Extras
Add-ons and helpers for A-Frame VR.
Stars: ✭ 722 (+889.04%)
Mutual labels:  aframe, webvr
3dio Js
JavaScript toolkit for interior apps
Stars: ✭ 255 (+249.32%)
Mutual labels:  aframe, webvr
Engine
Fast and lightweight JavaScript game engine built on WebGL and glTF
Stars: ✭ 6,890 (+9338.36%)
Mutual labels:  virtual-reality, webvr
Exokit
Native VR/AR/XR engine for JavaScript 🦖
Stars: ✭ 809 (+1008.22%)
Mutual labels:  virtual-reality, webvr

MathworldVR

MathworldVR

WebVR math platform made with A-Frame, Three.js, React, Redux.

Build Status Coverage Status Code climate tested with jest Tag License

Usage

  • Download and install a WebVR-enabled browser. Currently only Firefox, Firefox Nightly and experimental versions of Chromium supports the Vive controllers. (You will need to enable these flags for WebVR and Gamepad Extensions: chrome://flags#enable-webvr and chrome://flags#enable-gamepad-extensions.)
  • Visit https://mathworldvr.com/ and play with the math functions.

Libraries

App state in predictable state container

MathworldVR uses Redux for all the stuff around the app's state. It helps you write applications that behave consistently. On top of that, it provides a great developer experience, such as live code editing combined with a time traveling debugger. For example, CalcButton component used as a backspace on calculator is dispatching Redux action when user "clicks it" with VR hand-controller!

Stateless Calculator component:

const Calculator = ({ backspace }) => {
  return (
    <Entity className="interactive calculator">
      // ...
      <CalcButton value="<-" id="calc-backspace" actionToTrigger={backspace} />
      // ...
    </Entity>
  )
}

Calculator container:

import { connect } from 'react-redux'
import { Calculator } from 'components'
import { calculatorBackspace } from 'actions'

// ...
const mapDispatchToProps = (dispatch) => ({
  backspace: () => dispatch(calculatorBackspace()),
})

export default connect(mapDispatchToProps)(Calculator)

CalcButton nicely dispatching Redux action that we are passing to it dynamically on 'hover-start' event:

export default class CalcButton extends React.Component {
  startIntersection = () => {
    const { actionToTrigger } = this.props
    // Dispatching Redux action from within WebVR
    // by touching the CalcButton with VR hand-controller
    actionToTrigger()
  }

  render() {
    return (
      <Entity
        id={this.props.id}
        className="interactive button"
        hoverable
        clickable
        events={{
          'hover-start': this.startIntersection
        }}
      >
        <Text value={this.props.value} />
      </Entity>
    )
  }
}

Local Development

Prerequisites

First, fork the project. Then:

git clone [email protected]:yourusername/mathworldvr && cd mathworldvr
npm install // or yarn install
npm start

Then, load http://localhost:3000 in your browser.

Generating Builds

npm run build

Questions

For questions and support, ask on StackOverflow.

Stay in Touch

A-Frame Community

Contributing

Get involved! Check out the Contributing Guide for how to get started.

License

This program is free software and is distributed under an MIT License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].