Re: Mandelbrot for the terminal
From: Alan Crowe (alan_at_cawtech.freeserve.co.uk)
Date: 07/31/04
- Next message: Mark Carter: "Re: Your Guru Paul Graham is getting trashed on Slashdot."
- Previous message: pkhuong: "Re: Mandelbrot for the terminal"
- In reply to: neo88: "Re: Mandelbrot for the terminal"
- Next in thread: Abdulaziz Ghuloum: "Re: Mandelbrot for the terminal"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 31 Jul 2004 07:52:35 +0100
neo88 asked:
> Very cool. How did you get the ascii characters though? I
> don't see them anywhere in the code. All I see that might
> even have something to do with it is
>
> (princ (code-char c))
Spot the magic numbers 32 and 126
(char-code #\space) => 32
(char-code #\~) => 126
the code commits itself to the ASCII character set.
-- Alan Crowe Edinburgh Scotland
- Next message: Mark Carter: "Re: Your Guru Paul Graham is getting trashed on Slashdot."
- Previous message: pkhuong: "Re: Mandelbrot for the terminal"
- In reply to: neo88: "Re: Mandelbrot for the terminal"
- Next in thread: Abdulaziz Ghuloum: "Re: Mandelbrot for the terminal"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]