Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lecepin/threejs-stacked-blocks
https://github.com/lecepin/threejs-stacked-blocks
Last synced: 4 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/lecepin/threejs-stacked-blocks
- Owner: lecepin
- Created: 2023-09-12T12:39:53.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2023-09-12T12:43:58.000Z (about 1 year ago)
- Last Synced: 2024-04-16T05:14:35.962Z (7 months ago)
- Language: TypeScript
- Homepage: https://unpkg.com/[email protected]/dist/index.html
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# threejs-stacked-blocks
![image](https://github.com/lecepin/threejs-stacked-blocks/assets/11046969/c525b214-f49d-4fd5-b2f8-35f7fb594ca4)
#### Install
```
npm i -S stacked-blocks
```#### Usage
```
export default function init({ container, onClickBlock, autoRotate, cameraRotationSpeed, }: InitProps): {
addBlock: () => void;
clearBlock: () => void;
};
```