sketch
drakma
Our great sponsors
sketch | drakma | |
---|---|---|
12 | 3 | |
1,368 | 242 | |
- | 1.2% | |
8.5 | 2.4 | |
4 days ago | 5 days ago | |
Common Lisp | Common Lisp | |
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
sketch
-
Seeking a lisp post on graphics
This is a cool library for that stuff as well: https://github.com/vydd/sketch
-
Creativity
- You can also doodle in Lisp just like you can doodle with a pencil: https://github.com/vydd/sketch
-
Framework for creative coding in Lisp?
There's Sketch.
-
basic graphics library
I think sketch is exactly what you’re looking for.
-
Installing Sketch on Windows
Has anyone been able to install Sketch on Windows?
-
SBCL: New in Version 2.2.1
Thank you. I'm sorry I was harsh, but I just spent a frustratingly long time getting Sketch to work on Windows, but I did it. MSYS2 to compile a missing lib was the missing piece that did it. I'm frustrated, but not giving up.
https://github.com/vydd/sketch
-
Tell HN: My experience with Common Lisp as beginner
I'm posting my experience hoping someone will tell me I'm doing it wrong and tell me a better way. I'm aware that I could use Racket or Clojure but I really wanted to try Common Lisp as a historically important language.
2 days ago I posted a link that looked really interesting as a fun way to learn Common Lisp. See https://news.ycombinator.com/item?id=29856110 or Sketch https://github.com/vydd/sketch
Turns out it was previously posted and got good feedback so I decided to try it. I use Windows. There were several Common Lisp installations to choose from. I choose Clozure because it appeared to be developed by Mac users, so I thought it might to have features I liked.
Clozure installation on Windows was fine. However, I ran into problems installing sketch because I had to build Simple Direct Media components https://www.libsdl.org/ and it wasn't clear ahead of time which ones. I didn't have MinGW, MSYS2 or Cygwin setup so instead I rooted around until I found SDL2.dll and libtiff.dll. Unfortunately, I couldn't find libffi.dll so had to build it. I installed MSYS2 but failed. Cygwin same thing. This is my fault as I never learned how to do this.
I installed Steel Bank Common Lisp without problem hoping it might have what Sketch needs but it doesn't
I gave up on Windows proper and installed WSL2 because I'm on a developers preview of Windows 11 and had read that it does graphics now. I installed Ubuntu 20 into it, but couldn't get it to work.
I switched to my VMWare installation of Ubuntu 20 and failed there too, but I suspected there might be a conflict, so I installed a fresh copy of Ubuntu 20 in a new virtual machine.
It worked! Very nice. I can do graphics with Common Lisp.
I prefer not using VMWare so I am currently learning the difference between MSYS2, MinGW, Cygwin, and GnuMake32. I expect to have a Windows version working by the end of the day. I wondering if I should do a Docker image or maybe there is something better now? Last time I used Docker it seemed more difficult than it need to be.
// These are the steps I took to make it work on Ubuntu. I don't use Linux that often so I'm sure there is a better way like combining some of these commands
// Install dev tools
- sketch - 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.
- Sketch is a Common Lisp environment for the creation of electronic art
drakma
-
Consuming HTTP endpoint using Common Lisp
We will reuse connection between http requests to save time on SSL handshake and overall load of target server. We are talking to some Tomcat server that has setup of 120 seconds for keep-alive. This means that we should take care of that and properly close and re-open connection when keep-alive expires. After some experiments, we defined base minimum function that wraps drakma calls.
-
HTTP over unix sockets in Common Lisp
Drakma
-
cl-wget: retrieve files using HTTPS. Makes retrieving large files or mirroring entire websites easy.
If it uses Drakma, it won't work with https on Windows.
What are some alternatives?
trivial-gamekit - Simple framework for making 2D games
dexador - A fast HTTP client for Common Lisp
ccl - Clozure Common Lisp
cl-wget - The Non-Interactive Network Downloader: cl-wget is a free software for retrieving files using HTTPS; cl-wget makes mirroring websites easy.
usocket - Universal socket library for Common Lisp
roswell - intended to be a launcher for a major lisp environment that just works.
cl-collider - A SuperCollider client for CommonLisp
nyxt - Nyxt - the hacker's browser.
abcl - Armed Bear Common Lisp <git+https://github.com/armedbear/abcl/> <--> <svn+https://abcl.org/svn> Bridge
cl-docker - Run your docker commands from your favorite Common Lisp REPLs
clog-plotly - CLOG Plugin for Plotly.js
pgloader - Migrate to PostgreSQL in a single command!