Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bfollington/blockscapes
procedurally generated terrain chunk, generative art on fxhash
https://github.com/bfollington/blockscapes
fxhash react-three-fiber threejs
Last synced: 4 months ago
JSON representation
procedurally generated terrain chunk, generative art on fxhash
- Host: GitHub
- URL: https://github.com/bfollington/blockscapes
- Owner: bfollington
- Created: 2021-12-13T03:17:17.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2021-12-13T13:44:27.000Z (about 3 years ago)
- Last Synced: 2024-10-07T04:08:44.786Z (4 months ago)
- Topics: fxhash, react-three-fiber, threejs
- Language: TypeScript
- Homepage: https://www.fxhash.xyz/generative/slug/blockscapes
- Size: 447 KB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# blockscapes
This is a quickstart template based on `create-react-app` for creating [`fxhash`](https://www.fxhash.xyz) tokens using [`react-three-fiber`](https://github.com/pmndrs/react-three-fiber) + `typescript`.
## Development
`npm i` or `yarn` to install dependencies.
`npm run start` - begin live-reload local development
### fxhash
The fxhash host exposes two useful functions, `fxhash` and `fxrand`, which are easily accessed via `fxhash.ts` which exports `fxhash()` and `fxrand()`.
See the [fxhash guide](https://www.fxhash.xyz/articles/guide-mint-generative-token).
We also expose a method to register features of your token via `registerFeatures({"feat-a": true})` in the same module.
### index.html
The root `html` file (located in the `public/` folder) can be edited freely so long as you preserve the `fxhash` snippet and the filepaths.
## Packaging + Release
`npm run release` will build & package into `fxhash-release.zip`, ready to upload to the site.