greymap-rotate-left

Synopsis

(greymap-rotate-left greymap)

Parameters

  • greymap

Description

This procedure rotates a greymap 90 degrees counterclockwise.

Side Effects

Return Value

The resulting greymap is returned.

Example

> (define x (mandelbrot -2.0 2.0 -2.0 2.0 200 640))
x
> (graymap-equalize! x)
#<graymap(16) orow:-1 ocol:-1 xres:-1 yres:-1 w:640 h:640>
> (define y (graymap-high->greymap x))
y
> (define z (greymap-rotate-left y))
z
> (greymap-writepng z "greymap-rotate-left.png")
ok
>

The resulting PNG file displays as follows:

greymap-rotate-left.png