Skip to content

Latest commit

 

History

History
60 lines (46 loc) · 3.17 KB

TOOLS.md

File metadata and controls

60 lines (46 loc) · 3.17 KB

Introduction

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.

Tools

Graphics

Sound

Examples

Tips and Tricks

How to save a pict

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)

branch