9.105.3 • Published 16 days ago

@react-three/drei v9.105.3

Weekly downloads
12,794
License
MIT
Repository
github
Last release
16 days ago

logo

Version Downloads Discord Shield Open in GitHub Codespaces

A growing collection of useful helpers and fully functional, ready-made abstractions for @react-three/fiber. If you make a component that is generic enough to be useful to others, think about CONTRIBUTING!

npm install @react-three/drei

:point_right: this package is using the stand-alone three-stdlib instead of three/examples/jsm. :point_left:

Basic usage:

import { PerspectiveCamera, PositionalAudio, ... } from '@react-three/drei'

React-native:

import { PerspectiveCamera, PositionalAudio, ... } from '@react-three/drei/native'

The native route of the library does not export Html or Loader. The default export of the library is web which does export Html and Loader.

Index

Cameras

PerspectiveCamera

npm.io

type Props = Omit<JSX.IntrinsicElements['perspectiveCamera'], 'children'> & {
  /** Registers the camera as the system default, fiber will start rendering with it */
  makeDefault?: boolean
  /** Making it manual will stop responsiveness and you have to calculate aspect ratio yourself. */
  manual?: boolean
  /** The contents will either follow the camera, or be hidden when filming if you pass a function */
  children?: React.ReactNode | ((texture: THREE.Texture) => React.ReactNode)
  /** Number of frames to render, 0 */
  frames?: number
  /** Resolution of the FBO, 256 */
  resolution?: number
  /** Optional environment map for functional use */
  envMap?: THREE.Texture
}

A responsive THREE.PerspectiveCamera that can set itself as the default.

<PerspectiveCamera makeDefault {...props} />
<mesh />

You can also give it children, which will now occupy the same position as the camera and follow along as it moves.

<PerspectiveCamera makeDefault {...props}>
  <mesh />
</PerspectiveCamera>

You can also drive it manually, it won't be responsive and you have to calculate aspect ratio yourself.

<PerspectiveCamera manual aspect={...} onUpdate={(c) => c.updateProjectionMatrix()}>

You can use the PerspectiveCamera to film contents into a RenderTarget, similar to CubeCamera. As a child you must provide a render-function which receives the texture as its first argument. The result of that function will not follow the camera, instead it will be set invisible while the the FBO renders so as to avoid issues where the meshes that receive the texture are interrering.

<PerspectiveCamera position={[0, 0, 10]}>
  {(texture) => (
    <mesh geometry={plane}>
      <meshBasicMaterial map={texture} />
    </mesh>
  )}
</PerspectiveCamera>

OrthographicCamera

npm.io

A responsive THREE.OrthographicCamera that can set itself as the default.

<OrthographicCamera makeDefault {...props}>
  <mesh />
</OrthographicCamera>

You can use the OrthographicCamera to film contents into a RenderTarget, it has the same API as PerspectiveCamera.

<OrthographicCamera position={[0, 0, 10]}>
  {(texture) => (
    <mesh geometry={plane}>
      <meshBasicMaterial map={texture} />
    </mesh>
  )}
</OrthographicCamera>

CubeCamera

npm.io

A THREE.CubeCamera that returns its texture as a render-prop. It makes children invisible while rendering to the internal buffer so that they are not included in the reflection.

type Props = JSX.IntrinsicElements['group'] & {
  /** Number of frames to render, Infinity */
  frames?: number
  /** Resolution of the FBO, 256 */
  resolution?: number
  /** Camera near, 0.1 */
  near?: number
  /** Camera far, 1000 */
  far?: number
  /** Custom environment map that is temporarily set as the scenes background */
  envMap?: THREE.Texture
  /** Custom fog that is temporarily set as the scenes fog */
  fog?: Fog | FogExp2
  /** The contents of CubeCamera will be hidden when filming the cube */
  children: (tex: Texture) => React.ReactNode
}

Using the frames prop you can control if this camera renders indefinitely or statically (a given number of times). If you have two static objects in the scene, make it frames={2} for instance, so that both objects get to "see" one another in the reflections, which takes multiple renders. If you have moving objects, unset the prop and use a smaller resolution instead.

<CubeCamera>
  {(texture) => (
    <mesh>
      <sphereGeometry />
      <meshStandardMaterial envMap={texture} />
    </mesh>
  )}
</CubeCamera>

Controls

If available controls have damping enabled by default, they manage their own updates, remove themselves on unmount, are compatible with the frameloop="demand" canvas-flag. They inherit all props from their underlying THREE controls. They are the first effects to run before all other useFrames, to ensure that other components may mutate the camera on top of them.

Some controls allow you to set makeDefault, similar to, for instance, PerspectiveCamera. This will set @react-three/fiber's controls field in the root store. This can make it easier in situations where you want controls to be known and other parts of the app could respond to it. Some drei controls already take it into account, like CameraShake, Gizmo and TransformControls.

<CameraControls makeDefault />
const controls = useThree((state) => state.controls)

Drei currently exports OrbitControls npm.io, MapControls npm.io, TrackballControls, ArcballControls, FlyControls, DeviceOrientationControls, PointerLockControls npm.io, FirstPersonControls npm.io CameraControls npm.io and FaceControls npm.io

All controls react to the default camera. If you have a <PerspectiveCamera makeDefault /> in your scene, they will control it. If you need to inject an imperative camera or one that isn't the default, use the camera prop: <OrbitControls camera={MyCamera} />.

PointerLockControls additionally supports a selector prop, which enables the binding of click event handlers for control activation to other elements than document (e.g. a 'Click here to play' button). All elements matching the selector prop will activate the controls. It will also center raycast events by default, so regular onPointerOver/etc events on meshes will continue to work.

CameraControls

This is an implementation of the camera-controls library.

<CameraControls />
type CameraControlsProps = {
  /** The camera to control, default to the state's `camera` */
  camera?: PerspectiveCamera | OrthographicCamera
  /** DOM element to connect to, default to the state's `gl` renderer */
  domElement?: HTMLElement
  /** Reference this CameraControls instance as state's `controls` */
  makeDefault?: boolean
  /** Events callbacks, see: https://github.com/yomotsu/camera-controls#events */
  onStart?: (e?: { type: 'controlstart' }) => void
  onEnd?: (e?: { type: 'controlend' }) => void
  onChange?: (e?: { type: 'update' }) => void
}

ScrollControls

![](https://img.shields.io/badge/-Dom only-red)

type ScrollControlsProps = {
  /** Precision, default 0.00001 */
  eps?: number
  /** Horizontal scroll, default false (vertical) */
  horizontal?: boolean
  /** Infinite scroll, default false (experimental!) */
  infinite?: boolean
  /** Defines the length of the scroll area, each page is height:100%, default 1 */
  pages?: number
  /** A factor that increases scroll bar travel, default 1 */
  distance?: number
  /** Friction in seconds, default: 0.2 (1/5 second) */
  damping?: number
  /** maxSpeed optionally allows you to clamp the maximum speed. If damping is 0.2s and looks OK
   *  going between, say, page 1 and 2, but not for pages far apart as it'll move very rapid,
   *  then a maxSpeed of e.g. 0.1 which will clamp the speed to 0.1 units per second, it may now
   *  take much longer than damping to reach the target if it is far away. Default: Infinity */
  maxSpeed?: number
  enabled?: boolean
  style?: React.CSSProperties
  children: React.ReactNode
}

Scroll controls create a HTML scroll container in front of the canvas. Everything you drop into the <Scroll> component will be affected.

You can listen and react to scroll with the useScroll hook which gives you useful data like the current scroll offset, delta and functions for range finding: range, curve and visible. The latter functions are especially useful if you want to react to the scroll offset, for instance if you wanted to fade things in and out if they are in or out of view.

;<ScrollControls pages={3} damping={0.1}>
  {/* Canvas contents in here will *not* scroll, but receive useScroll! */}
  <SomeModel />
  <Scroll>
    {/* Canvas contents in here will scroll along */}
    <Foo position={[0, 0, 0]} />
    <Foo position={[0, viewport.height, 0]} />
    <Foo position={[0, viewport.height * 1, 0]} />
  </Scroll>
  <Scroll html>
    {/* DOM contents in here will scroll along */}
    <h1>html in here (optional)</h1>
    <h1 style={{ top: '100vh' }}>second page</h1>
    <h1 style={{ top: '200vh' }}>third page</h1>
  </Scroll>
</ScrollControls>

function Foo(props) {
  const ref = useRef()
  const data = useScroll()
  useFrame(() => {
    // data.offset = current scroll position, between 0 and 1, dampened
    // data.delta = current delta, between 0 and 1, dampened

    // Will be 0 when the scrollbar is at the starting position,
    // then increase to 1 until 1 / 3 of the scroll distance is reached
    const a = data.range(0, 1 / 3)
    // Will start increasing when 1 / 3 of the scroll distance is reached,
    // and reach 1 when it reaches 2 / 3rds.
    const b = data.range(1 / 3, 1 / 3)
    // Same as above but with a margin of 0.1 on both ends
    const c = data.range(1 / 3, 1 / 3, 0.1)
    // Will move between 0-1-0 for the selected range
    const d = data.curve(1 / 3, 1 / 3)
    // Same as above, but with a margin of 0.1 on both ends
    const e = data.curve(1 / 3, 1 / 3, 0.1)
    // Returns true if the offset is in range and false if it isn't
    const f = data.visible(2 / 3, 1 / 3)
    // The visible function can also receive a margin
    const g = data.visible(2 / 3, 1 / 3, 0.1)
  })
  return <mesh ref={ref} {...props} />
}

PresentationControls

![](https://img.shields.io/badge/-Dom only-red)

Semi-OrbitControls with spring-physics, polar zoom and snap-back, for presentational purposes. These controls do not turn the camera but will spin their contents. They will not suddenly come to rest when they reach limits like OrbitControls do, but rather smoothly anticipate stopping position.

<PresentationControls
  enabled={true} // the controls can be disabled by setting this to false
  global={false} // Spin globally or by dragging the model
  cursor={true} // Whether to toggle cursor style on drag
  snap={false} // Snap-back to center (can also be a spring config)
  speed={1} // Speed factor
  zoom={1} // Zoom factor when half the polar-max is reached
  rotation={[0, 0, 0]} // Default rotation
  polar={[0, Math.PI / 2]} // Vertical limits
  azimuth={[-Infinity, Infinity]} // Horizontal limits
  config={{ mass: 1, tension: 170, friction: 26 }} // Spring config
  domElement={events.connected} // The DOM element events for this controller will attach to
>
  <mesh />
</PresentationControls>

KeyboardControls

![](https://img.shields.io/badge/-Dom only-red)

A rudimentary keyboard controller which distributes your defined data-model to the useKeyboard hook. It's a rather simple way to get started with keyboard input.

type KeyboardControlsState<T extends string = string> = { [K in T]: boolean }

type KeyboardControlsEntry<T extends string = string> = {
  /** Name of the action */
  name: T
  /** The keys that define it, you can use either event.key, or event.code */
  keys: string[]
  /** If the event receives the keyup event, true by default */
  up?: boolean
}

type KeyboardControlsProps = {
  /** A map of named keys */
  map: KeyboardControlsEntry[]
  /** All children will be able to useKeyboardControls */
  children: React.ReactNode
  /** Optional onchange event */
  onChange: (name: string, pressed: boolean, state: KeyboardControlsState) => void
  /** Optional event source */
  domElement?: HTMLElement
}

You start by wrapping your app, or scene, into <KeyboardControls>.

enum Controls {
  forward = 'forward',
  back = 'back',
  left = 'left',
  right = 'right',
  jump = 'jump',
}
function App() {
  const map = useMemo<KeyboardControlsEntry<Controls>[]>(()=>[
    { name: Controls.forward, keys: ['ArrowUp', 'KeyW'] },
    { name: Controls.back, keys: ['ArrowDown', 'KeyS'] },
    { name: Controls.left, keys: ['ArrowLeft', 'KeyA'] },
    { name: Controls.right, keys: ['ArrowRight', 'KeyD'] },
    { name: Controls.jump, keys: ['Space'] },
  ], [])
  return (
    <KeyboardControls map={map}>
      <App />
    </KeyboardControls>

You can either respond to input reactively, it uses zustand (with the subscribeWithSelector middleware) so all the rules apply:

function Foo() {
  const forwardPressed = useKeyboardControls<Controls>(state => state.forward)

Or transiently, either by subscribe, which is a function which returns a function to unsubscribe, so you can pair it with useEffect for cleanup, or get, which fetches fresh state non-reactively.

function Foo() {
  const [sub, get] = useKeyboardControls<Controls>()

  useEffect(() => {
    return sub(
      (state) => state.forward,
      (pressed) => {
        console.log('forward', pressed)
      }
    )
  }, [])

  useFrame(() => {
    // Fetch fresh data from store
    const pressed = get().back
  })
}

FaceControls

npm.io

The camera follows your face.

Pre-requisite: wrap into a FaceLandmarker provider

<FaceLandmarker>...</FaceLandmarker>
<FaceControls />
type FaceControlsProps = {
  /** The camera to be controlled, default: global state camera */
  camera?: THREE.Camera
  /** Whether to autostart the webcam, default: true */
  autostart?: boolean
  /** Enable/disable the webcam, default: true */
  webcam?: boolean
  /** A custom video URL or mediaStream, default: undefined */
  webcamVideoTextureSrc?: VideoTextureSrc
  /** Disable the rAF camera position/rotation update, default: false */
  manualUpdate?: boolean
  /** Disable the rVFC face-detection, default: false */
  manualDetect?: boolean
  /** Callback function to call on "videoFrame" event, default: undefined */
  onVideoFrame?: (e: THREE.Event) => void
  /** Reference this FaceControls instance as state's `controls` */
  makeDefault?: boolean
  /** Approximate time to reach the target. A smaller value will reach the target faster. */
  smoothTime?: number
  /** Apply position offset extracted from `facialTransformationMatrix` */
  offset?: boolean
  /** Offset sensitivity factor, less is more sensible, default: 80 */
  offsetScalar?: number
  /** Enable eye-tracking */
  eyes?: boolean
  /** Force Facemesh's `origin` to be the middle of the 2 eyes, default: true */
  eyesAsOrigin?: boolean
  /** Constant depth of the Facemesh, default: .15 */
  depth?: number
  /** Enable debug mode, default: false */
  debug?: boolean
  /** Facemesh options, default: undefined */
  facemesh?: FacemeshProps
}
type FaceControlsApi = THREE.EventDispatcher & {
  /** Detect faces from the video */
  detect: (video: HTMLVideoElement, time: number) => void
  /** Compute the target for the camera */
  computeTarget: () => THREE.Object3D
  /** Update camera's position/rotation to the `target` */
  update: (delta: number, target?: THREE.Object3D) => void
  /** <Facemesh> ref api */
  facemeshApiRef: RefObject<FacemeshApi>
  /** <Webcam> ref api */
  webcamApiRef: RefObject<WebcamApi>
  /** Play the video */
  play: () => void
  /** Pause the video */
  pause: () => void
}
FaceControls events

Two THREE.Events are dispatched on FaceControls ref object:

  • { type: "stream", stream: MediaStream } -- when webcam's .getUserMedia() promise is resolved
  • { type: "videoFrame", texture: THREE.VideoTexture, time: number } -- each time a new video frame is sent to the compositor (thanks to rVFC)

Note rVFC

Internally, FaceControls uses requestVideoFrameCallback, you may need a polyfill (for Firefox).

FaceControlsmanualDetect

By default, detect is called on each "videoFrame". You can disable this by manualDetect and call detect yourself.

For example:

const controls = useThree((state) => state.controls)

const onVideoFrame = useCallback((event) => {
  controls.detect(event.texture.source.data, event.time)
}, [controls])

<FaceControls makeDefault
  manualDetect
  onVideoFrame={onVideoFrame}
/>
FaceControlsmanualUpdate

By default, update method is called each rAF useFrame. You can disable this by manualUpdate and call it yourself:

const controls = useThree((state) => state.controls)

useFrame((_, delta) => {
  controls.update(delta) // 60 or 120 FPS with default damping
})

<FaceControls makeDefault manualUpdate />

Or, if you want your own custom damping, use computeTarget method and update the camera pos/rot yourself with:

const [current] = useState(() => new THREE.Object3D())

useFrame((_, delta) => {
  const target = controls?.computeTarget()

  if (target) {
    //
    // A. Define your own damping
    //

    const eps = 1e-9
    easing.damp3(current.position, target.position, 0.25, delta, undefined, undefined, eps)
    easing.dampE(current.rotation, target.rotation, 0.25, delta, undefined, undefined, eps)
    camera.position.copy(current.position)
    camera.rotation.copy(current.rotation)

    //
    // B. Or maybe with no damping at all?
    //

    // camera.position.copy(target.position)
    // camera.rotation.copy(target.rotation)
  }
})

MotionPathControls

Motion path controls, it takes a path of bezier curves or catmull-rom curves as input and animates the passed object along that path. It can be configured to look upon an external object for staging or presentation purposes by adding a focusObject property (ref).

type MotionPathProps = JSX.IntrinsicElements['group'] & {
  /** An optional array of THREE curves */
  curves?: THREE.Curve<THREE.Vector3>[]
  /** Show debug helpers */
  debug?: boolean
  /** The target object that is moved, default: null (the default camera) */
  object?: React.MutableRefObject<THREE.Object3D>
  /** An object where the target looks towards, can also be a vector, default: null */
  focus?: [x: number, y: number, z: number] | React.MutableRefObject<THREE.Object3D>
  /** Position between 0 (start) and end (1), if this is not set useMotion().current must be used, default: null */
  offset?: number
  /** Optionally smooth the curve, default: false */
  smooth?: boolean | number
  /** Damping tolerance, default: 0.00001 */
  eps?: number
  /** Damping factor for movement along the curve, default: 0.1 */
  damping?: number
  /** Damping factor for lookAt, default: 0.1 */
  focusDamping?: number
  /** Damping maximum speed, default: Infinity */
  maxSpeed?: number
}

You can use MotionPathControls with declarative curves.

function App() {
  const poi = useRef()
  return (
    <group>
      <MotionPathControls offset={0} focus={poi} damping={0.2}>
        <cubicBezierCurve3 v0={[-5, -5, 0]} v1={[-10, 0, 0]} v2={[0, 3, 0]} v3={[6, 3, 0]} />
        <cubicBezierCurve3 v0={[6, 3, 0]} v1={[10, 5, 5]} v2={[5, 5, 5]} v3={[5, 5, 5]} />
      </MotionPathControls>
      <Box args={[1, 1, 1]} ref={poi}/>

Or with imperative curves.

<MotionPathControls
  offset={0}
  focus={poi}
  damping={0.2}
  curves={[
    new THREE.CubicBezierCurve3(
      new THREE.Vector3(-5, -5, 0),
      new THREE.Vector3(-10, 0, 0),
      new THREE.Vector3(0, 3, 0),
      new THREE.Vector3(6, 3, 0)
    ),
    new THREE.CubicBezierCurve3(
      new THREE.Vector3(6, 3, 0),
      new THREE.Vector3(10, 5, 5),
      new THREE.Vector3(5, 3, 5),
      new THREE.Vector3(5, 5, 5)
    ),
  ]}
/>

You can exert full control with the useMotion hook, it allows you to define the current position along the path for instance, or define your own lookAt. Keep in mind that MotionPathControls will still these values unless you set damping and focusDamping to 0. Then you can also employ your own easing.

type MotionState = {
  /** The user-defined, mutable, current goal position along the curve, it may be >1 or <0 */
  current: number
  /** The combined curve */
  path: THREE.CurvePath<THREE.Vector3>
  /** The focus object */
  focus: React.MutableRefObject<THREE.Object3D<THREE.Event>> | [x: number, y: number, z: number] | undefined
  /** The target object that is moved along the curve */
  object: React.MutableRefObject<THREE.Object3D<THREE.Event>>
  /** The automated, 0-1 normalised and damped current goal position along curve */
  offset: number
  /** The current point on the curve */
  point: THREE.Vector3
  /** The current tangent on the curve */
  tangent: THREE.Vector3
  /** The next point on the curve */
  next: THREE.Vector3
}

const state: MotionState = useMotion()
function Loop() {
  const motion = useMotion()
  useFrame((state, delta) => {
    // Set the current position along the curve, you can increment indiscriminately for a loop
    motion.current += delta
    // Look ahead on the curve
    motion.object.current.lookAt(motion.next)
  })
}

<MotionPathControls>
  <cubicBezierCurve3 v0={[-5, -5, 0]} v1={[-10, 0, 0]} v2={[0, 3, 0]} v3={[6, 3, 0]} />
  <Loop />

Gizmos

GizmoHelper

npm.io

Used by widgets that visualize and control camera position.

Two example gizmos are included: GizmoViewport and GizmoViewcube, and useGizmoContext makes it easy to create your own.

Make sure to set the makeDefault prop on your controls, in that case you do not have to define the onTarget and onUpdate props.

<GizmoHelper
  alignment="bottom-right" // widget alignment within scene
  margin={[80, 80]} // widget margins (X, Y)
  onUpdate={/* called during camera animation  */}
  onTarget={/* return current camera target (e.g. from orbit controls) to center animation */}
  renderPriority={/* use renderPriority to prevent the helper from disappearing if there is another useFrame(..., 1)*/}
>
  <GizmoViewport axisColors={['red', 'green', 'blue']} labelColor="black" />
  {/* alternative: <GizmoViewcube /> */}
</GizmoHelper>

PivotControls

![](https://img.shields.io/badge/-Dom only-red)

Controls for rotating and translating objects. These controls will stick to the object the transform and by offsetting or anchoring it forms a pivot. This control has HTML annotations for some transforms and supports [tab] for rounded values while dragging.

type PivotControlsProps = {
  /** Scale of the gizmo, 1 */
  scale?: number
  /** Width of the gizmo lines, this is a THREE.Line2 prop, 2.5 */
  lineWidth?: number
  /** If fixed is true is remains constant in size, scale is now in pixels, false */
  fixed?: boolean
  /** Pivot does not act as a group, it won't shift contents but can offset in position */
  offset?: [number, number, number]
  /** Starting rotation */
  rotation?: [number, number, number]
  /** Starting matrix */
  matrix?: THREE.Matrix4
  /** Anchor point, like BBAnchor, each axis can be between -1/0/+1 */
  anchor?: [number, number, number]
  /** If autoTransform is true, automatically apply the local transform on drag, true */
  autoTransform?: boolean
  /** Allows you to switch individual axes off */
  activeAxes?: [boolean, boolean, boolean]
  /** Allows you to disable translation via axes arrows */
  disableAxes?: boolean
  /** Allows you to disable translation via axes planes */
  disableSliders?: boolean
  /** Allows you to disable rotation */
  disableRotations?: boolean
  /** Allows you to disable scaling */
  disableScaling?: boolean
  /** RGB colors */
  axisColors?: [string | number, string | number, string | number]
  /** Color of the hovered item */
  hoveredColor?: string | number
  /** HTML value annotations, default: false */
  annotations?: boolean
  /** CSS Classname applied to the HTML annotations */
  annotationsClass?: string
  /** Drag start event */
  onDragStart?: () => void
  /** Drag event */
  onDrag?: (l: THREE.Matrix4, deltaL: THREE.Matrix4, w: THREE.Matrix4, deltaW: THREE.Matrix4) => void
  /** Drag end event */
  onDragEnd?: () => void
  /** Set this to false if you want the gizmo to be visible through faces */
  depthTest?: boolean
  opacity?: number
  visible?: boolean
  userData?: { [key: string]: any }
  children?: React.ReactNode
}
<PivotControls>
  <mesh />
</PivotControls>

You can use Pivot as a controlled component, switch autoTransform off in that case and now you are responsible for applying the matrix transform yourself. You can also leave autoTransform on and apply the matrix to foreign objects, in that case Pivot will be able to control objects that are not parented within.

const matrix = new THREE.Matrix4()
return (
  <PivotControls
    ref={ref}
    matrix={matrix}
    autoTransform={false}
    onDrag={({ matrix: matrix_ }) => matrix.copy(matrix_)}

DragControls

storybook Dom only

You can use DragControls to make objects draggable in your scene. It supports locking the drag to specific axes, setting drag limits, and custom drag start, drag, and drag end events.

type DragControlsProps = {
  /** If autoTransform is true, automatically apply the local transform on drag, true */
  autoTransform?: boolean
  /** The matrix to control */
  matrix?: THREE.Matrix4
  /** Lock the drag to a specific axis */
  axisLock?: 'x' | 'y' | 'z'
  /** Limits */
  dragLimits?: [[number, number] | undefined, [number, number] | undefined, [number, number] | undefined]
  /** Hover event */
  onHover?: (hovering: boolean) => void
  /** Drag start event */
  onDragStart?: (origin: THREE.Vector3) => void
  /** Drag event */
  onDrag?: (
    localMatrix: THREE.Matrix4,
    deltaLocalMatrix: THREE.Matrix4,
    worldMatrix: THREE.Matrix4,
    deltaWorldMatrix: THREE.Matrix4
  ) => void
  /** Drag end event */
  onDragEnd?: () => void
  children: React.ReactNode
}
<DragControls>
  <mesh />
</DragControls>

You can utilize DragControls as a controlled component by toggling autoTransform off, which then requires you to manage the matrix transformation manually. Alternatively, keeping autoTransform enabled allows you to apply the matrix to external objects, enabling DragControls to manage objects that are not directly parented within it.

const matrix = new THREE.Matrix4()
return (
  <DragControls
    ref={ref}
    matrix={matrix}
    autoTransform={false}
    onDrag={(localMatrix) => matrix.copy(localMatrix)}

TransformControls

npm.io

An abstraction around THREE.TransformControls.

You can wrap objects which then receive a transform gizmo.

<TransformControls mode="translate">
  <mesh />
</TransformControls>

You could also reference the object which might make it easier to exchange the target. Now the object does not have to be part of the same sub-graph. References can be plain objects or React.MutableRefObjects.

<TransformControls object={mesh} mode="translate" />
<mesh ref={mesh} />

If you are using other controls (Orbit, Trackball, etc), you will notice how they interfere, dragging one will affect the other. Default-controls will temporarily be disabled automatically when the user is pulling on the transform gizmo.

<TransformControls mode="translate" />
<OrbitControls makeDefault />

Grid

npm.io

A y-up oriented, shader-based grid implementation.

export type GridMaterialType = {
  /** Cell size, default: 0.5 */
  cellSize?: number
  /** Cell thickness, default: 0.5 */
  cellThickness?: number
  /** Cell color, default: black */
  cellColor?: THREE.ColorRepresentation
  /** Section size, default: 1 */
  sectionSize?: number
  /** Section thickness, default: 1 */
  sectionThickness?: number
  /** Section color, default: #2080ff */
  sectionColor?: THREE.ColorRepresentation
  /** Follow camera, default: false */
  followCamera?: boolean
  /** Display the grid infinitely, default: false */
  infiniteGrid?: boolean
  /** Fade distance, default: 100 */
  fadeDistance?: number
  /** Fade strength, default: 1 */
  fadeStrength?: number
  /** Fade from camera (1) or origin (0), or somewhere in between, default: camera */
  fadeFrom?: number
}

export type GridProps = GridMaterialType & {
  /** Default plane-geometry arguments */
  args?: ConstructorParameters<typeof THREE.PlaneGeometry>
}
<Grid />

useHelper

npm.io

A hook for a quick way to add helpers to existing nodes in the scene. It handles removal of the helper on unmount and auto-updates it by default.

const mesh = useRef()
useHelper(mesh, BoxHelper, 'cyan')
useHelper(condition && mesh, BoxHelper, 'red') // you can pass false instead of the object ref to hide the helper

<mesh ref={mesh} ... />

Helper

npm.io

A component for declaratively adding helpers to existing nodes in the scene. It handles removal of the helper on unmount and auto-updates it by default.

<mesh>
  <boxGeometry />
  <meshBasicMaterial />

  <Helper type={BoxHelper} args={['royalblue']} />
  <Helper type={VertexNormalsHelper} args={[1, 0xff0000]} />
</mesh>

Shapes

Plane, Box, Sphere, Circle, Cone, Cylinder, Tube, Torus, TorusKnot, Ring, Tetrahedron, Polyhedron, Icosahedron, Octahedron, Dodecahedron, Extrude, Lathe, Shape

Short-cuts for a mesh with a buffer geometry.

<Box
  args={[1, 1, 1]}                // Args for the buffer geometry
  {...meshProps}                  // All THREE.Mesh props are valid
/>

// Plane with buffer geometry args
<Plane args={[2, 2]} />

// Box with color set on the default MeshBasicMaterial
<Box material-color="hotpink" />

// Sphere with a MeshStandardMaterial
<Sphere>
  <meshStandardMaterial color="hotpink" />
</Sphere>

RoundedBox

A box buffer geometry with rounded corners, done with extrusion.

<RoundedBox
  args={[1, 1, 1]} // Width, height, depth. Default is [1, 1, 1]
  radius={0.05} // Radius of the rounded corners. Default is 0.05
  smoothness={4} // The number of curve segments. Default is 4
  bevelSegments={4} // The number of bevel segments. Default is 4, setting it to 0 removes the bevel, as a result the texture is applied to the whole geometry.
  creaseAngle={0.4} // Smooth normals everywhere except faces that meet at an angle greater than the crease angle
  {...meshProps} // All THREE.Mesh props are valid
>
  <meshPhongMaterial color="#f3f3f3" wireframe />
</RoundedBox>

ScreenQuad

<ScreenQuad>
  <myMaterial />
</ScreenQuad>

A triangle that fills the screen, ideal for full-screen fragment shader work (raymarching, postprocessing). 👉 Why a triangle? 👉 Use as a post processing mesh

Line

npm.io

Renders a THREE.Line2 or THREE.LineSegments2 (depending on the value of segments).

<Line
  points={[[0, 0, 0], ...]}       // Array of points, Array<Vector3 | Vector2 | [number, number, number] | [number, number] | number>
  color="black"                   // Default
  lineWidth={1}                   // In pixels (default)
  segments                        // If true, renders a THREE.LineSegments2. Otherwise, renders a THREE.Line2
  dashed={false}                  // Default
  vertexColors={[[0, 0, 0], ...]} // Optional array of RGB values for each point
  {...lineProps}                  // All THREE.Line2 props are valid
  {...materialProps}              // All THREE.LineMaterial props are valid
/>

QuadraticBezierLine

npm.io

Renders a THREE.Line2 using THREE.QuadraticBezierCurve3 for interpolation.

<QuadraticBezierLine
  start={[0, 0, 0]}               // Starting point, can be an array or a vec3
  end={[10, 0, 10]}               // Ending point, can be an array or a vec3
  mid={[5, 0, 5]}                 // Optional control point, can be an array or a vec3
  color="black"                   // Default
  lineWidth={1}                   // In pixels (default)
  dashed={false}                  // Default
  vertexColors={[[0, 0, 0], ...]} // Optional array of RGB values for each point
  {...lineProps}                  // All THREE.Line2 props are valid
  {...materialProps}              // All THREE.LineMaterial props are valid
/>

You can also update the line runtime.

const ref = useRef()
useFrame((state) => {
  ref.current.setPoints(
    [0, 0, 0],
    [10, 0, 0],
    // [5, 0, 0] // Optional: mid-point
  )
}, [])
return <QuadraticBezierLine ref={ref} />
}

CubicBezierLine

npm.io

Renders a THREE.Line2 using THREE.CubicBezierCurve3 for interpolation.

<CubicBezierLine
  start={[0, 0, 0]}               // Starting point
  end={[10, 0, 10]}               // Ending point
  midA={[5, 0, 0]}                // First control point
  midB={[0, 0, 5]}                // Second control point
  color="black"                   // Default
  lineWidth={1}                   // In pixels (default)
  dashed={false}                  // Default
  vertexColors={[[0, 0, 0], ...]} // Optional array of RGB values for each point
  {...lineProps}                  // All THREE.Line2 props are valid
  {...materialProps}              // All THREE.LineMaterial props are valid
/>

CatmullRomLine

npm.io

Renders a THREE.Line2 using THREE.CatmullRomCurve3 for interpolation.

<CatmullRomLine
  points={[[0, 0, 0], ...]}       // Array of Points
  closed={false}                  // Default
  curveType="centripetal"         // One of "centripetal" (default), "chordal", or "catmullrom"
  tension={0.5}                   // Default (only applies to "catmullrom" curveType)
  color="black"                   // Default
  lineWidth={1}                   // In pixels (default)
  dashed={false}                  // Default
  vertexColors={[[0, 0, 0], ...]} // Optional array of RGB values for each point
  {...lineProps}                  // All THREE.Line2 props are valid
  {...materialProps}              // All THREE.LineMaterial props are valid
/>

Facemesh

npm.io

Renders an oriented MediaPipe face mesh:

const faceLandmarkerResult = {
    "faceLandmarks": [
      [
        { "x": 0.5760777592658997, "y": 0.8639070391654968, "z": -0.030997956171631813 },
        { "x": 0.572094738483429, "y": 0.7886289358139038, "z": -0.07189624011516571 },
        // ...
      ],
      // ...
    ],
    "faceBlendshapes": [
      // ...
    ],
    "facialTransformationMatrixes": [
      // ...
    ]
  },
}
const points = faceLandmarkerResult.faceLandmarks[0]

<Facemesh points={points} />
export type FacemeshProps = {
  /** an array of 468+ keypoints as returned by google/mediapipe tasks-vision, default: a sample face */
  points?: MediaPipePoints
  /** @deprecated an face object as returned by tensorflow/tfjs-models face-landmarks-detection */
  face?: MediaPipeFaceMesh
  /** constant width of the mesh, default: undefined */
  width?: number
  /** or constant height of the mesh, default: undefined */
  height?: number
  /** or constant depth of the mesh, default: 1 */
  depth?: number
  /** a landmarks tri supposed to be vertical, default: [159, 386, 200] (see: https://github.com/tensorflow/tfjs-models/tree/master/face-landmarks-detection#mediapipe-facemesh-keypoints) */
  verticalTri?: [number, number, number]
  /** a landmark index (to get the position from) or a vec3 to be the origin of the mesh. default: undefined (ie. the bbox center) */
  origin?: number | THREE.Vector3
  /** A facial transformation matrix, as returned by FaceLandmarkerResult.facialTransformationMatrixes (see: https://developers.google.com/mediapipe/solutions/vision/face_landmarker/web_js#handle_and_display_results) */
  facialTransformationMatrix?: (typeof FacemeshDatas.SAMPLE_FACELANDMARKER_RESULT.facialTransformationMatrixes)[0]
  /** Apply position offset extracted from `facialTransformationMatrix` */
  offset?: boolean
  /** Offset sensitivity factor, less is more sensible */
  offsetScalar?: number
  /** Fface blendshapes, as returned by FaceLandmarkerResult.faceBlendshapes (see: https://developers.google.com/mediapipe/solutions/vision/face_landmarker/web_js#handle_and_display_results) */
  faceBlendshapes?: (typeof FacemeshDatas.SAMPLE_FACELANDMARKER_RESULT.faceBlendshapes)[0]
  /** whether to enable eyes (nb. `faceBlendshapes` is required for), default: true */
  eyes?: boolean
  /** Force `origin` to be the middle of the 2 eyes (nb. `eyes` is required for), default: false */
  eyesAsOrigin?: boolean
  /** debug mode, default: false */
  debug?: boolean
}

Ref-api:

const api = useRef<FacemeshApi>()

<Facemesh ref={api} points={points} />
type FacemeshApi = {
  meshRef: React.RefObject<THREE.Mesh>
  outerRef: React.RefObject<THREE.Group>
  eyeRightRef: React.RefObject<FacemeshEyeApi>
  eyeLeftRef: React.RefObject<FacemeshEyeApi>
}

You can for example get face mesh world direction:

api.meshRef.current.localToWorld(new THREE.Vector3(0, 0, -1))

or get L/R iris direction:

api.eyeRightRef.current.irisDirRef.current.localToWorld(new THREE.Vector3(0, 0, -1))

Abstractions

Image

A shader-based image component with auto-cover (similar to css/background: cover).

export type ImageProps = Omit<JSX.IntrinsicElements['mesh'], 'scale'> & {
  segments?: number
  scale?: number | [number, number]
  color?: Color
  zoom?: number
  radius?: number
  grayscale?: number
  toneMapped?: boolean
  transparent?: boolean
  opacity?: number
  side?: THREE.Side
}
function Foo() {
  const ref = useRef()
  useFrame(() => {
    ref.current.material.radius = ... // between 0 and 1
    ref.current.material.zoom = ... // 1 and higher
    ref.current.material.grayscale = ... // between 0 and 1
    ref.current.material.color.set(...) // mix-in color
  })
  return <Image ref={ref} url="/file.jpg" />
}

To make the material transparent:

<Image url="/file.jpg" transparent opacity={0.5} />

You can have custom planes, for instance a rounded-corner plane.

import { extend } from '@react-three/fiber'
import { Image } from '@react-three/drei'
import { easing, geometry } from 'maath'

extend({ RoundedPlaneGeometry: geometry.RoundedPlaneGeometry })

<Image url="/file.jpg">
  <roundedPlaneGeometry args={[1, 2, 0.15]} />
</Image>

Text

npm.io npm.io

Hi-quality text rendering w/ signed distance fields (SDF) and antialiasing, using troika-3d-text. All of troikas props are valid! Text is suspense-based!

<Text color="black" anchorX="center" anchorY="middle">
  hello world!
</Text>

Text will suspend while loading the font data, but in order to completely avoid FOUC you can pass the characters it needs to render.

<Text font={fontUrl} characters="abcdefghijklmnopqrstuvwxyz0123456789!">
  hello world!
</Text>

Text3D

npm.io npm.io

Render 3D text using ThreeJS's TextGeometry.

Text3D will suspend while loading the font data. Text3D requires fonts in JSON format generated through typeface.json, either as a path to a JSON file or a JSON object. If you face display issues try checking "Reverse font direction" in the typeface tool.

<Text3D font={fontUrl} {...textOptions}>
  Hello world!
  <meshNormalMaterial />
</Text3D>

You can use any material. textOptions are options you'd pass to the TextGeometry constructor. Find more information about available options here.

You can align the text using the <Center> component.

<Center top left>
  <Text3D>hello</Text3D>
</Center>

It adds three properties that do not exist in the original TextGeometry, lineHeight, letterSpacing and smooth. LetterSpacing is a factor that is 1 by default. LineHeight is in threejs units and 0 by default. Smooth merges vertices with a tolerance and calls computeVertexNormals.

<Text3D smooth={1} lineHeight={0.5} letterSpacing={-0.025}>{`hello\nworld`}</Text3D>

Effects

Abstraction around threes own EffectComposer. By default it will prepend a render-pass and a gammacorrection-pass. Children are cloned, attach is given to them automatically. You can only use passes or effects in there.

By default it creates a render target with HalfFloatType, RGBAFormat. You can change all of this to your liking, inspect the types.

import { SSAOPass } from "three-stdlib"

extend({ SSAOPass })

<Effects multisamping={8} renderIndex={1} disableGamma={false} disableRenderPass={false} disableRender={false}>
  <sSAOPass args={[scene, camera, 100, 100]} kernelRadius={1.2} kernelSize={0} />
</Effects>

PositionalAudio

npm.io npm.io

A wrapper around THREE.PositionalAudio. Add this to groups or meshes to tie them to a sound that plays when the camera comes near.

<PositionalAudio
  url="/sound.mp3"
  distance={1}
  loop
  {...props} // All THREE.PositionalAudio props are valid
/>

Billboard

npm.io

Adds a <group /> that always faces the camera.

<Billboard
  follow={true}
  lockX={false}
  lockY={false}
  lockZ={false} // Lock the rotation on the z axis (default=false)
>
  <Text fontSize={1}>I'm a billboard</Text>
</Billboard>

ScreenSpace

npm.io

Adds a <group /> that aligns objects to screen space.

<ScreenSpace
  depth={1} // Distance from camera
>
  <Box>I'm in screen space</Box>
</ScreenSpace>

ScreenSizer

npm.io

Adds a <object3D /> that scales objects to screen space.

<ScreenSizer
  scale={1} // scale factor
>
  <Box
    args={[100, 100, 100]} // will render roughly as a 100px box
  />
</ScreenSizer>

GradientTexture

A declarative THREE.Texture which attaches to "map" by default. You can use this to create gradient backgrounds.

<mesh>
  <planeGeometry />
  <meshBasicMaterial>
    <GradientTexture
      stops={[0, 1]} // As many stops as you want
      colors={['aquamarine', 'hotpink']} // Colors need to match the number of stops
      size={1024} // Size is optional, default = 1024
    />
  </meshBasicMaterial>
</mesh>

Radial gradient.

import { GradientTexture, GradientType } from './GradientTexture'
;<mesh>
  <planeGeometry />
  <meshBasicMaterial>
    <GradientTexture
      stops={[0, 0.5, 1]} // As many stops as you want
      colors={['aquamarine', 'hotpink', 'yellow']} // Colors need to match the number of stops
      size={1024} // Size (height) is optional, default = 1024
      width={1024} // Width of the canvas producing the texture, default = 16
      type={GradientType.Radial} // The type of the gradient, default = GradientType.Linear
      innerCircleRadius={0} // Optional, the radius of the inner circle of the gradient, default = 0
      outerCircleRadius={'auto'} // Optional, the radius of the outer circle of the gradient, default = auto
    />
  </meshBasicMaterial>
</mesh>

Edges

Abstracts THREE.EdgesGeometry. It pulls the geometry automatically from its parent, optionally you can ungroup it and give it a geometry prop. You can give it children, for instance a custom material. Edges is based on <Line> and supports all of its props.

<mesh>
  <boxGeometry />
  <meshBasicMaterial />
  <Edges
    linewidth={4}
    scale={1.1}
    threshold={15} // Display edges only when the angle between two faces exceeds this value (default=15 degrees)
    color="white"
  />
</mesh>

Outlines

An ornamental component that extracts the geometry from its parent and displays an inverted-hull outline. Supported parents are <mesh>, <skinnedMesh> and <instancedMesh>.

type OutlinesProps = JSX.IntrinsicElements['group'] & {
  /** Outline color, default: black */
  color: ReactThreeFiber.Color
  /** Line thickness is independent of zoom, default: false */
  screenspace: boolean
  /** Outline opacity, default: 1 */
  opacity: number
  /** Outline transparency, default: false */
  transparent: boolean
  /** Outline thickness, default 0.05 */
  thickness: number
  /** Geometry crease angle (0 === no crease), default: Math.PI */
  angle: number
}
<mesh>
  <boxGeometry />
  <meshBasicMaterial />
  <Outlines thickness={0.05} color="hotpink" />
</mesh>

Trail

npm.io

A declarative, three.MeshLine based Trails implementation. You can attach it to any mesh and it will give it a beautiful trail.

Props defined below with their default values.

<Trail
  width={0.2} // Width of the line
  color={'hotpink'} // 
r3f-sdk-testprova-react-three-fiberreact-three-scisor@puneet_epigraph/epigraph_configurator_uispace-sessionsspacesessionselect-sessionselect-sessionsthreeddd-editor@product360/editorninja-coreninjagl-corecaroumesh-backup@partykit/site-new@kuraykaraaslan/control-view-cube@everything-registry/sub-chunk-767@nospoon/stereo-media@nospoon/webxr-components@nospoon/webxr-utils@ddharitri/model-demo-appeasycc-3d-pieeasycc-rc-4effectnode-cmseffectnodeeffectnode-3dworlddesign-language-systemoct-24-2@s-brand5163/open-viewerpagenotfound_threejswebflow-code-test@shahlab/planetariumombra@puneet_epigraph/epigraph_configurator@puneet_epigraph/epigraph_configurator_core@shubh799/viewersdbld_webflowsite_scripts@lucablockltd/packaging-mockup-3d@ninjagl/corevizboxx-viewervite-react-ts-dashboardvrmcanvas@oneisland/react-codemirror@openbot/js2ddbcn-viewer@epigraph/configurator@epigraph/configurator-coreterminal-rush@ezcax/editortest-foresttest-forest-scenetest-npm-rajtest-r3f-projectmeshbaker@headstash/contentcreate-vite-react-ts-dashboard@momentchan/r3f-templatedash_wtgviewer@liqvid/react-three@nftverse/nft-store-plugin@sms0nhaaa/r3f-axie-starterpbl6-shop-online@softroid/panorama-viewer@sonhaaa/r3f-axie-starter-test@recklesstechnology/create-reckless-tech-app@partykit/sitedls-newopen-react-3d-viewer@sarge/avatar-viewpolygona-3d-client@rromikas/configuriopoint-cloud-visualiserportfolio-website-posilva@style-protocol/sdk@swan-io/lake@the.com/react-tetra3d@theatre/plugin-r3f@synced/game-client@react-three/editor@iak-extra/scene-composer-extrathreed-aithreed-gardenthree-covermoon_threejsthree-widelinecold-objects@iot-app-kit/scene-composer@iskallia/item-model-renderername-sphere-threejsname-sphere-threejs-npm@madovertechnology/floormap@m-fe/mesh-space@sk8verse/hologramgamba-game-pack-v2gamba-platform-templatehehai-poc-frontgeru-componentshomogeneous-coordinates-visualisationhtml-fiberfence-canvasfetchseed-components
9.105.3

16 days ago

9.105.2

18 days ago

9.105.1

22 days ago

9.105.0

22 days ago

9.103.1

23 days ago

9.104.0

22 days ago

9.104.1

22 days ago

9.103.0

26 days ago

9.102.4

1 month ago

9.102.5

1 month ago

9.102.6

1 month ago

9.102.0

1 month ago

9.102.1

1 month ago

9.102.2

1 month ago

9.102.3

1 month ago

9.101.0

2 months ago

9.100.0

2 months ago

9.99.6

2 months ago

9.99.7

2 months ago

9.99.5

2 months ago

9.99.1

2 months ago

9.99.2

2 months ago

9.99.3

2 months ago

9.99.4

2 months ago

9.98.0

2 months ago

9.99.0

2 months ago

9.97.6

2 months ago

9.97.5

2 months ago

9.97.4

3 months ago

9.97.3

3 months ago

9.97.2

3 months ago

9.97.1

3 months ago

9.97.0

3 months ago

9.96.4

3 months ago

9.96.5

3 months ago

9.96.2

3 months ago

9.96.3

3 months ago

9.96.1

3 months ago

9.96.0

3 months ago

9.95.0

3 months ago

9.94.0

3 months ago

9.94.1

3 months ago

9.93.1

3 months ago

9.93.0

4 months ago

9.92.6

4 months ago

9.92.7

4 months ago

9.92.5

4 months ago

9.92.4

4 months ago

9.92.2

4 months ago

9.92.3

4 months ago

9.92.0

5 months ago

9.92.1

5 months ago

9.91.1

5 months ago

9.91.0

5 months ago

9.90.2

5 months ago

9.90.1

5 months ago

9.90.0

5 months ago

9.89.1

5 months ago

9.89.3

5 months ago

9.89.2

5 months ago

9.78.1

10 months ago

9.78.0

10 months ago

9.78.2

10 months ago

9.89.0

5 months ago

9.87.1

7 months ago

9.87.0

7 months ago

9.80.10

8 months ago

9.85.1

7 months ago

9.85.0

7 months ago

9.85.2

7 months ago

9.83.7

8 months ago

9.83.6

8 months ago

9.83.9

8 months ago

9.83.8

8 months ago

9.83.1

8 months ago

9.83.0

8 months ago

9.83.3

8 months ago

9.83.2

8 months ago

9.83.5

8 months ago

9.83.4

8 months ago

9.77.11

10 months ago

9.77.10

10 months ago

9.81.0

8 months ago

9.79.0

9 months ago

9.79.2

9 months ago

9.79.1

9 months ago

9.79.4

9 months ago

9.79.3

9 months ago

9.77.8

10 months ago

9.77.7

10 months ago

9.88.2

7 months ago

9.88.1

7 months ago

9.88.4

6 months ago

9.88.3

6 months ago

9.88.6

6 months ago

9.88.5

6 months ago

9.88.8

6 months ago

9.88.7

6 months ago

9.88.0

7 months ago

9.77.9

10 months ago

9.88.9

6 months ago

9.86.4

7 months ago

9.86.3

7 months ago

9.86.0

7 months ago

9.86.2

7 months ago

9.86.1

7 months ago

9.84.0

7 months ago

9.84.2

7 months ago

9.84.1

7 months ago

9.84.3

7 months ago

9.82.0

8 months ago

9.82.1

8 months ago

9.88.16

5 months ago

9.88.17

5 months ago

9.88.14

5 months ago

9.88.15

5 months ago

9.88.12

6 months ago

9.88.13

6 months ago

9.88.10

6 months ago

9.88.11

6 months ago

9.80.9

8 months ago

9.80.2

9 months ago

9.80.1

9 months ago

9.80.4

8 months ago

9.80.3

9 months ago

9.80.6

8 months ago

9.80.5

8 months ago

9.80.8

8 months ago

9.80.7

8 months ago

9.80.0

9 months ago

9.77.6

10 months ago

9.77.5

10 months ago

9.69.0

11 months ago

9.69.1

11 months ago

9.69.4

11 months ago

9.69.2

11 months ago

9.69.3

11 months ago

9.68.1

12 months ago

9.68.2

12 months ago

9.68.0

12 months ago

9.68.5

11 months ago

9.68.6

11 months ago

9.68.3

12 months ago

9.68.4

11 months ago

9.67.0

12 months ago

9.67.1

12 months ago

9.66.3

12 months ago

9.66.4

12 months ago

9.66.2

12 months ago

9.66.5

12 months ago

9.66.6

12 months ago

9.77.2

10 months ago

9.77.1

10 months ago

9.77.4

10 months ago

9.77.3

10 months ago

9.77.0

10 months ago

9.76.1

10 months ago

9.76.0

10 months ago

9.75.0

10 months ago

9.74.5

11 months ago

9.74.4

11 months ago

9.74.7

11 months ago

9.74.6

11 months ago

9.74.9

11 months ago

9.74.8

11 months ago

9.74.1

11 months ago

9.74.0

11 months ago

9.74.3

11 months ago

9.74.2

11 months ago

9.73.0

11 months ago

9.73.2

11 months ago

9.73.1

11 months ago

9.73.4

11 months ago

9.73.3

11 months ago

9.72.1

11 months ago

9.72.0

11 months ago

9.72.2

11 months ago

9.71.0

11 months ago

9.70.1

11 months ago

9.70.0

11 months ago

9.70.3

11 months ago

9.70.2

11 months ago

9.70.5

11 months ago

9.70.4

11 months ago

9.74.13

11 months ago

9.74.14

11 months ago

9.74.11

11 months ago

9.74.12

11 months ago

9.74.10

11 months ago

9.74.15

11 months ago

9.74.16

10 months ago

9.58.0

1 year ago

9.58.1

1 year ago

9.58.4

1 year ago

9.58.5

1 year ago

9.58.2

1 year ago

9.58.3

1 year ago

9.58.6

1 year ago

9.57.1

1 year ago

9.57.2

1 year ago

9.57.0

1 year ago

9.57.3

1 year ago

9.66.1

12 months ago

9.66.0

1 year ago

9.65.4

1 year ago

9.65.5

1 year ago

9.65.2

1 year ago

9.65.3

1 year ago

9.65.0

1 year ago

9.65.1

1 year ago

9.64.0

1 year ago

9.63.0

1 year ago

9.62.0

1 year ago

9.62.3

1 year ago

9.62.4

1 year ago

9.62.1

1 year ago

9.62.2

1 year ago

9.61.0

1 year ago

9.61.1

1 year ago

9.61.4

1 year ago

9.61.2

1 year ago

9.61.3

1 year ago

9.60.0

1 year ago

9.59.0

1 year ago

9.56.28

1 year ago

9.56.6

1 year ago

9.56.7

1 year ago

9.56.8

1 year ago

9.56.9

1 year ago

9.56.23

1 year ago

9.56.22

1 year ago

9.56.25

1 year ago

9.56.24

1 year ago

9.56.27

1 year ago

9.56.26

1 year ago

9.56.21

1 year ago

9.56.20

1 year ago

9.56.19

1 year ago

9.56.12

1 year ago

9.56.11

1 year ago

9.56.14

1 year ago

9.56.13

1 year ago

9.56.16

1 year ago

9.56.15

1 year ago

9.56.18

1 year ago

9.56.17

1 year ago

9.56.10

1 year ago

9.47.1

1 year ago

9.47.0

1 year ago

9.35.1

2 years ago

9.35.0

2 years ago

9.46.2

1 year ago

9.46.1

1 year ago

9.46.0

1 year ago

9.46.6

1 year ago

9.46.5

1 year ago

9.46.4

1 year ago

9.46.3

1 year ago

9.34.3

2 years ago

9.34.2

2 years ago

9.34.1

2 years ago

9.34.0

2 years ago

9.34.4

2 years ago

9.46.7

1 year ago

9.45.1

1 year ago

9.45.0

1 year ago

9.56.2

1 year ago

9.56.3

1 year ago

9.56.0

1 year ago

9.56.1

1 year ago

9.33.1

2 years ago

9.56.4

1 year ago

9.56.5

1 year ago

9.33.0

2 years ago

9.44.1

1 year ago

9.44.0

1 year ago

9.32.5

2 years ago

9.32.9

2 years ago

9.32.8

2 years ago

9.32.7

2 years ago

9.32.6

2 years ago

9.55.0

1 year ago

9.43.3

1 year ago

9.43.2

1 year ago

9.43.1

1 year ago

9.43.0

1 year ago

9.54.2

1 year ago

9.54.3

1 year ago

9.54.0

1 year ago

9.54.1

1 year ago

9.42.2

1 year ago

9.32.12

2 years ago

9.42.1

1 year ago

9.32.11

2 years ago

9.42.0

1 year ago

9.32.10

2 years ago

9.53.3

1 year ago

9.53.1

1 year ago

9.53.2

1 year ago

9.53.0

1 year ago

9.41.3

1 year ago

9.41.2

1 year ago

9.41.1

1 year ago

9.41.0

1 year ago

9.52.6

1 year ago

9.52.4

1 year ago

9.52.5

1 year ago

9.52.2

1 year ago

9.52.3

1 year ago

9.52.0

1 year ago

9.52.1

1 year ago

9.40.5

1 year ago

9.40.0

1 year ago

9.40.4

1 year ago

9.40.3

1 year ago

9.40.2

1 year ago

9.40.1

1 year ago

9.51.7

1 year ago

9.51.8

1 year ago

9.51.5

1 year ago

9.51.6

1 year ago

9.51.9

1 year ago

9.51.0

1 year ago

9.51.3

1 year ago

9.51.4

1 year ago

9.51.1

1 year ago

9.51.2

1 year ago

9.50.0

1 year ago

9.50.1

1 year ago

9.50.4

1 year ago

9.50.5

1 year ago

9.50.2

1 year ago

9.50.3

1 year ago

9.39.0

1 year ago

9.38.2

1 year ago

9.38.1

1 year ago

9.38.0

1 year ago

9.51.10

1 year ago

9.51.11

1 year ago

9.51.12

1 year ago

9.51.13

1 year ago

9.49.0

1 year ago

9.37.0

2 years ago

9.37.1

2 years ago

9.48.0

1 year ago

9.48.4

1 year ago

9.48.3

1 year ago

9.48.2

1 year ago

9.48.1

1 year ago

9.51.21

1 year ago

9.51.22

1 year ago

9.36.0

2 years ago

9.51.23

1 year ago

9.51.24

1 year ago

9.51.20

1 year ago

9.51.18

1 year ago

9.51.19

1 year ago

9.48.6

1 year ago

9.48.5

1 year ago

9.51.14

1 year ago

9.51.15

1 year ago

9.51.16

1 year ago

9.51.17

1 year ago

9.24.3

2 years ago

9.24.4

2 years ago

9.24.0

2 years ago

9.24.1

2 years ago

9.24.2

2 years ago

9.23.6

2 years ago

9.23.7

2 years ago

9.23.8

2 years ago

9.32.4

2 years ago

9.32.3

2 years ago

9.32.2

2 years ago

9.32.1

2 years ago

9.32.0

2 years ago

9.31.2

2 years ago

9.31.1

2 years ago

9.31.0

2 years ago

9.30.3

2 years ago

9.30.2

2 years ago

9.30.1

2 years ago

9.30.0

2 years ago

9.29.1

2 years ago

9.29.0

2 years ago

9.29.2

2 years ago

9.28.2

2 years ago

9.28.1

2 years ago

9.28.0

2 years ago

9.28.3

2 years ago

9.27.0

2 years ago

9.26.1

2 years ago

9.26.2

2 years ago

9.26.0

2 years ago

9.25.2

2 years ago

9.25.3

2 years ago

9.25.0

2 years ago

9.25.1

2 years ago

9.23.4

2 years ago

9.23.5

2 years ago

9.23.0

2 years ago

9.23.1

2 years ago

9.23.2

2 years ago

9.23.3

2 years ago

9.22.5

2 years ago

9.22.6

2 years ago

9.22.7

2 years ago

9.22.8

2 years ago

9.22.1

2 years ago

9.22.2

2 years ago

9.22.3

2 years ago

9.22.4

2 years ago

9.22.0

2 years ago

9.22.9

2 years ago

9.21.0

2 years ago

9.20.0

2 years ago

9.22.11

2 years ago

9.22.10

2 years ago

9.19.0

2 years ago

9.19.5

2 years ago

9.19.6

2 years ago

9.19.7

2 years ago

9.19.1

2 years ago

9.19.2

2 years ago

9.19.3

2 years ago

9.19.4

2 years ago

9.18.0

2 years ago

9.17.0

2 years ago

9.17.1

2 years ago

9.17.2

2 years ago

9.17.3

2 years ago

9.16.0

2 years ago

9.16.1

2 years ago

9.15.0

2 years ago

9.14.2

2 years ago

9.14.3

2 years ago

9.14.0

2 years ago

9.14.1

2 years ago

9.13.1

2 years ago

9.13.2

2 years ago

9.8.2

2 years ago

9.8.1

2 years ago

9.8.0

2 years ago

9.12.0

2 years ago

9.9.0

2 years ago

9.11.1

2 years ago

9.11.2

2 years ago

9.11.3

2 years ago

9.11.4

2 years ago

9.11.0

2 years ago

9.10.0

2 years ago

9.7.2

2 years ago

9.7.1

2 years ago

9.7.0

2 years ago

9.13.0

2 years ago

8.19.6

2 years ago

9.4.5

2 years ago

9.4.4

2 years ago

9.4.3

2 years ago

9.4.2

2 years ago

9.4.1

2 years ago

9.4.0

2 years ago

9.5.5

2 years ago

9.5.4

2 years ago

9.5.3

2 years ago

9.5.2

2 years ago

9.5.1

2 years ago

9.5.0

2 years ago

9.5.7

2 years ago

9.5.6

2 years ago

9.6.2

2 years ago

9.6.1

2 years ago

9.6.0

2 years ago

8.20.0

2 years ago

8.20.1

2 years ago

8.20.2

2 years ago

9.0.4

2 years ago

9.0.3

2 years ago

9.1.7

2 years ago

9.1.6

2 years ago

9.1.5

2 years ago

9.1.4

2 years ago

9.1.3

2 years ago

9.1.2

2 years ago

9.0.0-beta.5

2 years ago

9.0.0-beta.4

2 years ago

9.0.0-beta.3

2 years ago

9.0.0-beta.6

2 years ago

9.0.2

2 years ago

9.0.1

2 years ago

9.0.0

2 years ago

9.1.1

2 years ago

9.1.0

2 years ago

9.3.6

2 years ago

9.3.5

2 years ago

9.3.4

2 years ago

9.3.3

2 years ago

9.3.2

2 years ago

9.3.1

2 years ago

9.3.0

2 years ago

9.2.0

2 years ago

8.19.1

2 years ago

8.19.0

2 years ago

8.19.3

2 years ago

8.19.2

2 years ago

8.19.5

2 years ago

8.19.4

2 years ago

8.18.10

2 years ago

9.0.0-beta.2

2 years ago

8.13.1

2 years ago

8.13.0

2 years ago

8.14.0

2 years ago

8.15.1

2 years ago

8.15.0

2 years ago

8.15.2

2 years ago

8.16.0

2 years ago

8.16.2

2 years ago

8.16.1

2 years ago

8.16.4

2 years ago

8.16.3

2 years ago

8.16.6

2 years ago

8.16.5

2 years ago

8.16.7

2 years ago

8.17.1

2 years ago

8.17.0

2 years ago

8.18.0

2 years ago

8.18.2

2 years ago

8.18.1

2 years ago

8.18.4

2 years ago

8.18.3

2 years ago

8.18.6

2 years ago

8.18.5

2 years ago

8.18.8

2 years ago

8.18.7

2 years ago

8.18.9

2 years ago

8.11.1

2 years ago

8.11.0

2 years ago

8.11.3

2 years ago

8.11.2

2 years ago

8.11.4

2 years ago

8.12.0

2 years ago

8.12.1

2 years ago

9.0.0-beta.1

2 years ago

8.4.0

2 years ago

8.5.0

2 years ago

8.6.3

2 years ago

8.6.2

2 years ago

8.6.4

2 years ago

8.6.1

2 years ago

8.6.0

2 years ago

8.7.2

2 years ago

8.7.1

2 years ago

8.7.4

2 years ago

8.7.3

2 years ago

8.7.0

2 years ago

8.7.6

2 years ago

8.7.5

2 years ago

8.8.1

2 years ago

8.8.0

2 years ago

8.8.3

2 years ago

8.8.2

2 years ago

8.8.4

2 years ago

8.10.0

2 years ago

8.10.2

2 years ago

8.10.1

2 years ago

8.10.4

2 years ago

8.10.3

2 years ago

8.10.6

2 years ago

8.10.5

2 years ago

8.10.7

2 years ago

8.9.0

2 years ago

7.21.1

2 years ago

7.21.0

2 years ago

8.1.0

2 years ago

8.3.1

2 years ago

7.20.6

2 years ago

7.20.5

2 years ago

7.20.2

2 years ago

7.20.1

2 years ago

7.20.4

2 years ago

7.20.3

2 years ago

8.2.1

2 years ago

8.2.0

2 years ago

7.23.2

2 years ago

7.23.1

2 years ago

7.23.0

2 years ago

8.3.0

2 years ago

7.22.4

2 years ago

7.22.3

2 years ago

7.22.6

2 years ago

7.22.5

2 years ago

7.22.0

2 years ago

7.22.2

2 years ago

7.22.1

2 years ago

7.22.8

2 years ago

7.22.7

2 years ago

7.22.9

2 years ago

7.25.1

2 years ago

7.25.0

2 years ago

7.25.3

2 years ago

7.25.2

2 years ago

7.25.5

2 years ago

7.25.4

2 years ago

7.24.0

2 years ago

7.27.1

2 years ago

7.27.0

2 years ago

7.27.3

2 years ago

7.27.2

2 years ago

7.27.5

2 years ago

7.27.4

2 years ago

7.26.0

2 years ago

7.26.1

2 years ago

8.0.0

2 years ago

7.20.0

2 years ago

7.19.6

2 years ago

7.19.4

2 years ago

7.18.0

2 years ago

7.19.3

2 years ago

7.19.1

2 years ago

7.19.2

2 years ago

7.19.0

2 years ago

7.17.0

3 years ago

7.17.1

3 years ago

7.17.2

3 years ago

7.16.0

3 years ago

7.16.1

3 years ago

7.14.4

3 years ago

7.16.8

3 years ago

7.16.6

3 years ago

7.16.7

3 years ago

7.16.4

3 years ago

7.16.5

3 years ago

7.16.2

3 years ago

7.16.3

3 years ago

7.15.1

3 years ago

7.15.0

3 years ago

7.14.2

3 years ago

7.14.3

3 years ago

7.14.0

3 years ago

7.14.1

3 years ago

7.12.6

3 years ago

7.13.1

3 years ago

7.13.0

3 years ago

7.12.5

3 years ago

7.12.4

3 years ago

7.12.2

3 years ago

7.12.3

3 years ago

7.12.0

3 years ago

7.12.1

3 years ago

7.11.1

3 years ago

7.11.0

3 years ago

7.10.0

3 years ago

7.10.1

3 years ago

7.8.6

3 years ago

7.9.0

3 years ago

7.8.5

3 years ago

7.8.4

3 years ago

7.8.3

3 years ago

7.8.0

3 years ago

7.8.2

3 years ago

7.8.1

3 years ago

7.7.0

3 years ago

7.5.1

3 years ago

7.6.1

3 years ago

7.6.0

3 years ago

7.5.0

3 years ago

7.4.0

3 years ago

7.3.1

3 years ago

7.3.0

3 years ago

7.2.2

3 years ago

7.2.1

3 years ago

7.2.0

3 years ago

7.1.3

3 years ago

7.1.2

3 years ago

7.1.1

3 years ago

7.1.0

3 years ago

7.0.6

3 years ago

7.0.5

3 years ago

7.0.4

3 years ago

7.0.3

3 years ago

7.0.2

3 years ago

7.0.1

3 years ago

6.2.1

3 years ago

6.2.2

3 years ago

7.0.0

3 years ago

6.2.3-beta.1

3 years ago

6.2.0

3 years ago

6.1.2

3 years ago

5.3.3

3 years ago

5.3.2

3 years ago

5.3.1

3 years ago

5.3.0

3 years ago

6.1.0

3 years ago

6.1.1

3 years ago

5.2.2

3 years ago

5.2.1

3 years ago

6.0.1

3 years ago

6.0.0

3 years ago

6.0.3

3 years ago

6.0.2

3 years ago

6.0.5

3 years ago

6.0.4

3 years ago

5.3.4

3 years ago

5.0.0-beta.1

3 years ago

5.0.0

3 years ago

5.1.5-beta.1

3 years ago

4.3.4-beta.1

3 years ago

4.3.2

3 years ago

4.3.1

3 years ago

4.3.3-beta.1

3 years ago

4.3.3

3 years ago

4.3.0

3 years ago

5.1.7

3 years ago

5.1.6

3 years ago

5.1.5

3 years ago

5.1.4

3 years ago

5.1.3

3 years ago

5.1.2

3 years ago

5.1.1

3 years ago

5.1.0

3 years ago

4.2.0

3 years ago

5.2.0

3 years ago

4.0.4-beta.4

3 years ago

4.0.4-beta.3

3 years ago

4.1.8

3 years ago

4.1.7

3 years ago

4.1.6

3 years ago

4.0.4-beta.2

3 years ago

4.0.4-beta.1

3 years ago

4.1.5

3 years ago

4.1.4

3 years ago

4.1.3

3 years ago

4.1.0

3 years ago

4.1.2

3 years ago

4.1.1

3 years ago

4.0.4

3 years ago

4.0.3

3 years ago

4.0.2

3 years ago

4.0.1

3 years ago

4.0.0

3 years ago

4.0.0-beta.8

3 years ago

4.0.0-beta.9

3 years ago

4.0.0-beta.7

3 years ago

4.0.0-beta.6

3 years ago

3.11.2

3 years ago

4.0.0-beta.5

3 years ago

3.11.1

3 years ago

3.11.1-alpha.1

3 years ago

4.0.0-beta.4

3 years ago

3.11.0

3 years ago

3.10.3

3 years ago

4.0.0-beta.3

3 years ago

3.10.2

3 years ago

3.10.1

3 years ago

3.10.0

3 years ago

4.0.0-beta.2

3 years ago

4.0.0-beta.1

3 years ago

3.9.0

3 years ago

3.8.7

3 years ago

3.8.6

3 years ago

3.8.4

3 years ago

3.8.3

3 years ago

3.8.5

3 years ago

3.8.0

3 years ago

3.8.2

3 years ago

3.8.1

3 years ago

3.7.0

3 years ago

3.6.0

3 years ago

3.5.1

3 years ago

3.5.0

3 years ago

3.4.1

3 years ago

3.4.0

3 years ago

3.3.0

3 years ago

3.3.0-beta.2

3 years ago

3.3.0-beta.1

3 years ago

3.3.0-beta.3

3 years ago

3.2.3-beta.2

3 years ago

3.2.3-beta.1

3 years ago

3.2.2

3 years ago

3.2.1

3 years ago

3.2.0

3 years ago

3.1.1

3 years ago

3.1.1-beta.2

3 years ago

3.1.1-beta.1

3 years ago

3.1.0-beta.1

3 years ago

3.1.0

3 years ago

3.0.0

3 years ago

3.0.0-beta.6

3 years ago

2.3.0-alpha.1

3 years ago

2.2.22

3 years ago

3.0.0-beta.5

3 years ago

3.0.0-beta.3

3 years ago

3.0.0-beta.4

3 years ago

3.0.0-beta.2

3 years ago

2.2.21

3 years ago

3.0.0-beta.1

3 years ago

2.2.20

3 years ago

3.0.0-beta.0

3 years ago

2.2.19

3 years ago

2.3.0-beta.6

3 years ago

2.3.0-beta.5

3 years ago

2.3.0-beta.4

3 years ago

2.3.0-beta.2

3 years ago

2.3.0-beta.3

3 years ago

2.3.0-beta.1

3 years ago

2.3.0-beta.0

3 years ago

2.2.18

3 years ago

2.2.17

3 years ago

2.2.16

3 years ago

2.2.15

3 years ago

2.2.14

3 years ago

2.2.13

3 years ago

2.2.12

3 years ago

2.2.11

3 years ago

2.2.10

3 years ago

2.2.9

3 years ago

2.2.8

3 years ago

2.2.7

3 years ago

2.2.6

3 years ago

2.2.5

3 years ago

2.2.4

3 years ago

2.2.3

3 years ago

2.2.2

4 years ago

2.2.1

4 years ago

2.2.0

4 years ago

2.1.1-beta.5

4 years ago

2.1.1-beta.4

4 years ago

2.1.1

4 years ago

2.1.1-beta.3

4 years ago

2.1.1-beta.1

4 years ago

2.1.1-beta.2

4 years ago

2.1.1-beta.0

4 years ago

2.1.0

4 years ago

2.0.1

4 years ago

2.0.0

4 years ago

1.5.9

4 years ago

1.5.8

4 years ago

1.5.7

4 years ago