sketch
sketch copied to clipboard
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.
Hi maintainers, thank you very much for this project! I'm having one issue on my machines with the `hello-world` example, specifically with the text rendering. This is what I'm seeing...
Currently, I use the following code to achieve the custom font: ```lisp (set-font (make-font :face (make-instance 'sketch::typeface :filename "/tmp/my-stupid-font.ttf"))) ``` I basically know nothing about SDL, and know very little...
OS: Windows 10 Implementation: SBCL 2.0.0 AMD64 When trying to use a sketch with (text) such as the hello-world example, the following error is generated: `The 'ffi_prep_cif' libffi call failed...
cffi does not admit the possibility of libffi.so.8 One fix is to add to line 34 `~quicklisp/dists/quicklisp/software/cffi_0.24.1/libffi/libffi.lisp` (:unix (:or "libffi.so.8" "libffi.so.7" "libffi32.so.7" "libffi.so.6" "libffi32.so.6" "libffi.so.5" "libffi32.so.5")) Reporting it here as...
POINT seems to be always drawing a 1x1 rectangle: ```lisp (defun point (x y) (declare (type real x y)) (with-pen (make-pen :fill (pen-stroke (env-pen *env*))) (rect x y 1 1)))...
I have installed SDL2, SDL2_image and SDL2_ttf into /Library/Frameworks but for some reason ccl can't find it... However, SBCL can find it but of course sbcl has issues with the...
If I load a PNG-file, instead of red the color blue is rendered. `(defsketch image ((title "image") (width 500) (height 600)) (image (load-resource "png/my-image.png") 100 50) `
Hi! I'm trying to render a 2d array of pixels and it seems there is no simple way of doing this. I'm looking for something similar to [canvas](https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API/Tutorial/Pixel_manipulation_with_canvas) or [p5](https://p5js.org/reference/#/p5/loadPixels)...
`cc -m64 -o /home/silver/.cache/common-lisp/sbcl-1.3.11-1.4-suse-linux-x64/home/silver/quicklisp/dists/quicklisp/software/cffi_0.18.0/libffi/libffi-types__grovel-tmpGHU3ALSV -I/home/silver/quicklisp/dists/quicklisp/software/cffi_0.18.0/ /home/silver/.cache/common-lisp/sbcl-1.3.11-1.4-suse-linux-x64/home/silver/quicklisp/dists/quicklisp/software/cffi_0.18.0/libffi/libffi-types__grovel.c ` ``` with command ("cc" "-m64" "-o" "/home/silver/.cache/common-lisp/sbcl-1.3.11-1.4-suse-linux-x64/home/silver/quicklisp/dists/quicklisp/software/cffi_0.18.0/libffi/libffi-types__grovel-tmpGHU3ALSV" "-I/home/silver/quicklisp/dists/quicklisp/software/cffi_0.18.0/" "/home/silver/.cache/common-lisp/sbcl-1.3.11-1.4-suse-linux-x64/home/silver/quicklisp/dists/quicklisp/software/cffi_0.18.0/libffi/libffi-types__grovel.c") exited with error code 1 [Condition of type CFFI-GROVEL:GROVEL-ERROR] ``` Getting the following error...
When I try to run the Brownian example, I get the following error: ``` * (make-instance 'sketch-examples:brownian) debugger invoked on a SDL2::SDL-RC-ERROR in thread #: SDL Error (#): Couldn't find...