1.0.4 • Published 2 years ago

@sk8verse/bento v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

🍱 @sk8verse/bento

Assembles a bento box texture that can be wrapped around a board.

It looks like this

|------|------|-|------|
|      |      | | whls | 
|   B  |      | |      | 
|   O  |  T   | |------| 
|   T  |  O   | | trks | 
|   T  |  P   | |      | 
|   O  |      | |------| 
|   M  |      | | brng | 
|      |      | |      | 
|------|------|-|------|

Roadmap

  • Build bento.sk8verse.xyz to serve persisted textures
  • Render Trucks, Wheels and Bearings
  • Render "Rim" and remove duplication from .gltf

Installation

yarn add @sk8verse/bento

Usage

import { makeBento } from '@sk8verse/bento'

class Example extends Component {
  const bento = await makeBento(bottmURL, topURL)
  return <img src={bento.toDataURL()} alt="sk8ordie" />
}

License

MIT ©

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago