Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
061375 committed Apr 2, 2019
1 parent c14d881 commit 85ec2dc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Expand Up @@ -17,11 +17,13 @@ It's possible to chain effects together however, not in the normal manner.

**Ideally it should be something like:**

``` test.load('image.jpg').effect({params}).anotherEffect({params}).drawBuffer() ```
```javascript
test.load('image.jpg').effect({params}).anotherEffect({params}).drawBuffer()
```

But currently it's more clunky:

```
```javascript
test.load(['images/cat.jpg'])
.then(function(e){
test.draw(i,e[0].img)
Expand Down

0 comments on commit 85ec2dc

Please sign in to comment.