Added working pixels example

This commit is contained in:
Devine Lu Linvega
2019-07-15 12:22:26 +09:00
parent 3b59441033
commit beddb42000
5 changed files with 46 additions and 22 deletions

View File

@@ -1,10 +1,21 @@
; pixels
((clear)
(
(clear)
; Filter
(def filter-action
(lambda () (pixels
(rect 0 0 500 500)
saturation
0.5)
))
; Draw photo
(draw "../../PREVIEW.jpg"
(frame)
(lambda () (echo (select (rect 660 344 10 10))))
))
(draw
"../../PREVIEW.jpg"
(frame)
filter-action)
)