Skip to content

Commit

Permalink
closes #147
Browse files Browse the repository at this point in the history
  • Loading branch information
Steve Krouse committed Jun 28, 2016
1 parent fbac66f commit 4749856
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,27 @@ If you're new to JavaScript, [you may want to read this](https://github.com/geti

## Getting Started

We reccomend you clone this JSBin to get started: [https://jsbin.com/lekovu/edit?js,output](https://jsbin.com/lekovu/edit?js,output)
We reccomend you File>clone this JSBin to get started: [https://jsbin.com/lekovu/edit?js,output](https://jsbin.com/lekovu/edit?js,output)

Alternatively, you can put Woof between the `<head>` tags.
```html
<script src="https://cdn.rawgit.com/stevekrouse/WoofJS/21436fbaf177e927780d766e64c79c236bf6c79d/woof.js"></script>
```

## [Demo](https://jsbin.com/ciwame/edit?js,console,output)

```javascript
var circle = new Circle({})
forever(() => {
circle.radius = circle.distanceTo(mouseX, mouseY)
})
circle.onMouseDown(() => {
circle.color = randomColor()
})
```

If you want more demos, check out our "Showing off" section at the bottom of the README.

## Creating Sprites

To create a new sprite, start by typing one of the following lines. Be sure to change the SPRITE_NAME to a name of your choice:
Expand Down

0 comments on commit 4749856

Please sign in to comment.