A Common Lisp framework for the creation of electronic art, visual design, game prototyping, game making, computer graphics, exploration of human-computer interaction, and more.
Here, only the upper left 50x50 part of the image is loaded. As crop (unintuivitely?) tiles the image when width or height are larger than the ones of the image, the intended effect is achieved.
Adds 4 optional params (x y w h) when loading image resources, to put only a part of the image into the texture.
This is how to tile a part of an image:
Here, only the upper left 50x50 part of the image is loaded. As
crop
(unintuivitely?) tiles the image when width or height are larger than the ones of the image, the intended effect is achieved.