Skip to content

react-three-fiber + typescript + fxhash generative art

Notifications You must be signed in to change notification settings

Toseben/fxhash-r3f-template

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fxhash-r3f-template

This is a quickstart template based on create-react-app for creating fxhash tokens using react-three-fiber + typescript.

image

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.

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.

About

react-three-fiber + typescript + fxhash generative art

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 49.0%
  • TypeScript 46.4%
  • CSS 4.2%
  • Shell 0.4%