fountain effect

This commit is contained in:
2015-03-03 23:26:27 -08:00
parent a963106ae7
commit 8476dff35b
3 changed files with 359 additions and 50 deletions

View File

@@ -25,7 +25,7 @@
target-height (* 16 scale)
resized (Pixmap. target-width target-height (.getFormat base-cursor))
index (.indexOf +all-cursors+ which)]
(Pixmap/setFilter Pixmap$Filter/NearestNeighbour)
#_(Pixmap/setFilter Pixmap$Filter/NearestNeighbour)
(pixmap! resized :draw-pixmap base-cursor (* index 16) 0 16 16
0 0 target-width target-height)
resized ))