• Stars
    star
    160
  • Rank 234,703 (Top 5 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created over 1 year ago
  • Updated 10 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

webxr interaction for three.js

@coconut-xr/natuerlich

Version License Twitter Discord

WebXR Interaction for Three.js

This library builds on Three.js (open-source WebGL library) and WebXR (Web Standard for Augmented and Virtual Reality) to deliver composable and extensible interactions for immersive experiences .

We provide bindings to react-three/fiber, enabling a familiar Developer Experience for react developers.

npm install @coconut-xr/natuerlich

Check out the Getting Started

Examples

Spatial UI with Koestlich Placing Objects - 3D Models from Quaternius
Rag Doll Physics - based on R3F Example Auto Demo - VR Drift Racing
Klettern Demo - VR Climbing Gamepad Example

Documentation

Getting Started - barebones WebXR, Hands, and Controllers Interaction with Objects - build interactions with objects
Interaction with Koestlich - build interactive 3D UIs Teleport - building a teleport interaction
Poses - detecting and generating hand poses Layers - high quality content using WebXR layers
Anchors - spatial anchors using WebXR anchors Tracked Planes - tracked room planes using WebXR planes
Head Up Display - placing content in front of the user's camera Custom Input Sources - building custom interactive hands and controllers
Tracked Images -

image marker tracking using WebXR Image Tracking
Guards -

conditional rendering using guards
Use XR -

accessing the raw XR state
Configuration -

configuring foveation, frameRate, referenceSpace, and frameBufferScaling

Acknowledgements

This library is only possible because of the great efforts from the Immersive Web Community Group and Immersive Web Working Group at the W3C, the Three.js team, and the react-three-fiber team. This work is inspired by existing libraries, such as react-xr and handy-work.

natuerlich is funded by Coconut Capital

More Repositories

1

koestlich

user interfaces for three.js
TypeScript
293
star
2

co-share

A Javascript library for easily building shared applications such as chats and games.
TypeScript
135
star
3

apfel-kruemel

Pre-Designed Component Library for Spatial User Interfaces
TypeScript
35
star
4

media

React library for accessing browser media like camera, microphone, screen capture, etc.
TypeScript
27
star
5

kritzeln

TypeScript
23
star
6

hochhaus

In the city's embrace, a building with grace, where elevators ascend, and dreams find their space
TypeScript
10
star
7

co-flex

React library for an unopinionated flexbox binding using yoga
TypeScript
9
star
8

glyph

fast, efficient, and layout-ready text rendering for Three.js
TypeScript
7
star
9

getting-started

Getting started with the coconut-xr ecosystem
TypeScript
6
star
10

auto

TypeScript
5
star
11

spatial-ui-example

Music Library using state-of-the-art Design in an interactive Spatial User Interface.
TypeScript
5
star
12

xinteraction

interactions for three.js
TypeScript
5
star
13

co-consistent

globally consistent event ordering for decentralized distributed systems
TypeScript
5
star
14

input

TypeScript
5
star
15

co-share-peer

Peer to peer functionality for co-share using simple-peer (webrtc)
TypeScript
4
star
16

pose-booth

TypeScript
4
star
17

flex

typescript css flexbox properties for yoga
TypeScript
3
star
18

klettern

@coconut-xr/natuerlich - climbing demo
TypeScript
3
star
19

co-share-peer-room

p2p room functionality for co-share-peer
TypeScript
2
star
20

co-share-socketio

networking implementation using socketio for co-share
TypeScript
1
star
21

co-virtualize

co-virtualize enables the extension and decoupling of a react component's livetime.
TypeScript
1
star
22

koestlich-expo-test

TypeScript
1
star