The goal is to have fun with Racket and do something creative. The list below is intended to give you an idea of the graphics/sound libraries available in Racket.
If you are new to Racket, then start here: Quick: An Introduction to Racket with Pictures
If we have missed a library or you have questions on how to install/use a particular library, don't hessitate to pop in at the Racket chat forums (Discord or Slack) or at the web forum (Discouse) and ask away.
- Chat Racket Discord(chat)
- Web Forum Racket Discourse(forum)
- Sketching A Language for Creative Coding (Animations and games)
- R-Cade R-Cade - Retro-style game engine
- Pict: Functional Pictures
- Image Guide and 2htdp/image to make PNG or SVG images
- The Racket Drawing Toolkit
- Pict3D: Functional 3D Scenes - go 3D!
- Plot: Graph Plotting - a graph plotting library that produces lovely plots.
- raart: Racket ASCII Art and Interfaces
- Lindenmayer
- Tessellation: A library to assist in the creation of geometric designs.
- MetaPict - The MetaPict library provides functions and data structures useful for generating picts.
- Paper Doll
- Floating Point Bitmaps
- RSound: A Sound Engine for Racket
- Portaudio: Bindings for the Portaudio portable sound library
- OSC: Open Sound Control Byte String Conversion
- RtMidi
- Jay McCarthy — Bithoven and the NES Chamber Orchestra Slides + Presentation + examples
- RacketScript animation http://racketscript.org/#example/falling-sky
- The
2htdp/universe
TeachPack can be used for animations. - Progressive Picts and Slides
The easiest way to save a pict
as an image file,
is to convert it to a bitmap first.
;; convert the 'pict' image to a 'bitmap' image
(define bitmap-waffle (pict->bitmap the-waffle))
;; tell the bitmap waffle to save itself to a .png file
(send bitmap-waffle save-file "images/waffle.png" 'png)