Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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);
```