Skip to content

Latest commit

 

History

History
49 lines (32 loc) · 2.08 KB

README.md

File metadata and controls

49 lines (32 loc) · 2.08 KB

Generative terrain NFT for fxhash.xyz, with threejs

This is the full code for the tutorial released on generativehut.com.

Tutorial text is also available at ./tutorial/TUTORIAL.md in a markdown format.

Project on fxhash

The project is released under this link. 256 edition, for 5 tezos. 90% of the proceedings (including secondary shares/royalties) go to this donation contract, which was setup by the fxhash and the Versum team. This contract splits the received funds between different charities (Save The Children, Direct Relief, etc.). You can read more on the contract here. If you want to support a good cause, mint one for yourself!:)

How to use

You will need to have nodejs installed.

Installation

First, make sure that your node version is >= 14

Clone the repository on your machine and move to the directory

$ git clone https://github.com/danielpetho/terrestrial.git your_folder && cd your_folder

Install the packages required for the local environment

$ npm i

Start local environment

$ npm start

This last command will start a local http server with live reloading enabled so that you can iterate faster on your projects. Open http://localhost:8080 to see your project in the browser.

Build

$ npm run build

Will bundle your js dependencies into a single minified bundle.js file, move your files from the public/ to the dist/ folder, and link the bundle.js with the index.html.

Moreover, it will create a dist-zipped/project.zip file which can be directly imported on fxhash.

License

MIT

Feedback

Feel free to open a pull request, or ask any question.