Added convolve example
This commit is contained in:
parent
0294c04858
commit
a1af04063b
BIN
PREVIEW.jpg
BIN
PREVIEW.jpg
Binary file not shown.
Before Width: | Height: | Size: 434 KiB After Width: | Height: | Size: 836 KiB |
BIN
PREVIEW2.jpg
Normal file
BIN
PREVIEW2.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 884 KiB |
BIN
PREVIEW3.jpg
Normal file
BIN
PREVIEW3.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 MiB |
@ -112,6 +112,8 @@ Additional functions can be found in the [includes](https://github.com/hundredra
|
|||||||
- `(test name a b)`
|
- `(test name a b)`
|
||||||
- `(benchmark fn)` logs time taken to execute a function.
|
- `(benchmark fn)` logs time taken to execute a function.
|
||||||
|
|
||||||
|
<img src='https://raw.githubusercontent.com/hundredrabbits/Ronin/master/PREVIEW2.jpg' width='600'/>
|
||||||
|
|
||||||
## Extras
|
## Extras
|
||||||
|
|
||||||
- This application supports the [Ecosystem Theme](https://github.com/hundredrabbits/Themes).
|
- This application supports the [Ecosystem Theme](https://github.com/hundredrabbits/Themes).
|
||||||
|
10
examples/pixels/convolve.lisp
Normal file
10
examples/pixels/convolve.lisp
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
(clear)
|
||||||
|
; drag an image on the window
|
||||||
|
(open $path)
|
||||||
|
;
|
||||||
|
(convolve
|
||||||
|
(rect 100 100 400 400) edge)
|
||||||
|
(convolve
|
||||||
|
(rect 300 300 400 400) sharpen)
|
||||||
|
(convolve
|
||||||
|
(rect 500 500 400 400) blur)
|
Loading…
x
Reference in New Issue
Block a user