https://github.com/binaryage/cljs-react-three-fiber
ClojureScript port of react-three-fiber/examples.
https://github.com/binaryage/cljs-react-three-fiber
cljs react react-three-fiber shadow-cljs three-js
Last synced: 14 days ago
JSON representation
ClojureScript port of react-three-fiber/examples.
- Host: GitHub
- URL: https://github.com/binaryage/cljs-react-three-fiber
- Owner: binaryage
- Created: 2020-01-17T22:11:23.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-06T16:12:53.000Z (over 2 years ago)
- Last Synced: 2025-03-26T10:48:10.387Z (about 1 month ago)
- Topics: cljs, react, react-three-fiber, shadow-cljs, three-js
- Language: JavaScript
- Homepage: https://github.com/react-spring/react-three-fiber
- Size: 6.35 MB
- Stars: 18
- Watchers: 4
- Forks: 1
- Open Issues: 21
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
This example app is a rewrite of [react-three-fiber/examples](https://github.com/react-spring/react-three-fiber)
### WORK-IN-PROGRESS
This project is a good excuse for me spend time learning some modern JS stuff and recent CLJS tools:
* [shadow-cljs](https://github.com/thheller/shadow-cljs)
* [modern react](https://reactjs.org/blog/2019/02/06/react-v16.8.0.html)
* [helix](https://github.com/Lokeh/helix)
* [three.js](https://github.com/mrdoob/three.js)
* [react-three-fiber](https://github.com/react-spring/react-three-fiber)#### Initial setup
```bash
git clone https://github.com/binaryage/cljs-react-three-fiber.git
cd cljs-react-three-fiber
```#### Development workflow
```bash
yarn install
shadow-cljs watch app
```Then:
1. wait for compilation to finish
2. visit dev server at [http://localhost:8080](http://localhost:8080)#### Release workflow
```bash
yarn install
shadow-cljs release app
python -m http.server 8000 --directory public
```Then visit server at [http://localhost:8000](http://localhost:8000)
#### Shadow CLJS report
```bash
./scripts/report.sh
```