0.3.0 • Published 2 years ago

mathbox-react v0.3.0

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

Mathbox React

React bindings for Mathbox.

Example

import React from "react"
import { ContainedMathbox, Axis, Grid, Cartesian } from "mathbox-react"
import { OrbitControls } from "three/examples/jsm/controls/OrbitControls"

const SimpleExample: React.FC = () => (
  <ContainedMathbox
    options={{
      plugins: ["core", "controls", "cursor"],
      controls: { klass: OrbitControls },
    }}
    containerStyle={{ height: "100vh" }}
  >
    <Cartesian>
      <Axis axis="x" color="orange" />
      <Axis axis="y" color="blue" />
      <Axis axis="z" color="green" />
      <Grid axes="xz" />
    </Cartesian>
  </ContainedMathbox>
)

export default SimpleExample
0.2.3-rc2

2 years ago

0.2.3-rc1

2 years ago

0.2.3-rc4

2 years ago

0.2.3-rc3

2 years ago

0.3.0

2 years ago

0.2.0-rc1

2 years ago

0.2.0

2 years ago

0.2.1-rc3

2 years ago

0.2.2

2 years ago

0.2.1-rc2

2 years ago

0.2.1-rc1

2 years ago

0.0.11-rc

3 years ago

0.0.12

3 years ago

0.0.13

3 years ago

0.0.14

3 years ago

0.0.14-rc3

3 years ago

0.0.14-rc2

3 years ago

0.0.14-rc1

3 years ago

0.0.10

3 years ago

0.0.9-dev-3

3 years ago

0.0.9-dev-2

3 years ago

0.0.5-dev

3 years ago

0.0.7-dev

3 years ago

0.0.9-dev

3 years ago

0.0.8

3 years ago

0.0.5

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago