Methods
App(container, width, height, backcolor1, backcolor2) → {undefined}
Create a meteor shower sample application.
Parameters:
Name | Type | Description |
---|---|---|
container |
HTMLElement | A application container. |
width |
number | The width of canvas. |
height |
number | The height of canvas. |
backcolor1 |
string | A background color for UI-thread. |
backcolor2 |
string | A background color for Worker-thread. |
- Source:
Returns:
- Type
- undefined