Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/konapun/hallowscene
A Halloween scene kit for isomer.js
https://github.com/konapun/hallowscene
Last synced: 22 days ago
JSON representation
A Halloween scene kit for isomer.js
- Host: GitHub
- URL: https://github.com/konapun/hallowscene
- Owner: konapun
- Created: 2014-04-30T04:19:59.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-04-30T20:03:51.000Z (over 10 years ago)
- Last Synced: 2024-04-14T19:58:14.550Z (7 months ago)
- Language: JavaScript
- Homepage:
- Size: 148 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Hallowscene
![hallowscene](example/hallowscene.png)
### A Halloween scene kit for [isomer](https://github.com/jdan/isomer)## What's in the kit?
Currently, the kit contains:
* colors
* pumpkins
* moons
* tombtones
* **more coming soon!**## How do I use it?
Create a new Hallowscene using your isomer object.```js
var iso = new Isomer(document.getElementById("hallowscene")),
hallowscene = new Hallowscene(iso);
hallowscene.addMoon(200, 180, 160);
iso.add(Isomer.Shape.Prism(Isomer.Point.ORIGIN, 8, 8, 1), hallowscene.colors.green); // create the scene platform
hallowscene.addTombstone(1, 8, 0);
hallowscene.addPumpkin(8, 1, 0);
```