Skip to content

nnmrts/blockstyles

Repository files navigation

blockstyles

Blockstyle components are in ./source/styles/ and should be compatible with the example one in ethblockart-p5-template. The fully compatible components can be found under ./build/eba and can replace the CustomStyle.js file of the original template. This whole project is based on it, but uses parcel for bundling and Pumpn Code's template repository as a boilerplate.

The style components also accept a new prop called hidden, you can pass true there to pause the p5 loop in cases the canvas isn't shown but the component is rendered. I'm using antd's carousel for example, which would lag a lot if we aren't pausing the loop.

About

EthBlock.art blockstyles

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Languages