Skip to content

Commit

Permalink
Added Posterize effect
Browse files Browse the repository at this point in the history
  • Loading branch information
neauoire committed Aug 4, 2019
1 parent 9d466ff commit 02a3187
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions PRELUDE.md
Expand Up @@ -30,4 +30,17 @@ Use: `(pixels erase-color (255 0 0))`.
(eq a:0 b:0)
(eq a:1 b:1)
(eq a:2 b:2)) 0 255)))
```

### Posterize

Use: `(pixels posterize 40)`.

```
(defn posterize
(a q)
(
(step a:0 q)
(step a:1 q)
(step a:2 q) a:3))
```

0 comments on commit 02a3187

Please sign in to comment.