Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,20 @@
|
|||
#lang racket/gui
|
||||
(require slideshow/pict)
|
||||
|
||||
(define-values (*width* *height*) (values 400 40))
|
||||
|
||||
(define (shades inc)
|
||||
(for/list ([scale (in-range 0 (+ 1 inc) inc)])
|
||||
(round (* 255 scale))))
|
||||
|
||||
(define (grays increment direction)
|
||||
(define colors (shades increment))
|
||||
(apply hc-append
|
||||
((if (eq? direction 'right) identity reverse)
|
||||
(for/list ([c colors])
|
||||
(colorize (filled-rectangle
|
||||
(/ *width* (length colors)) *height*)
|
||||
(make-color c c c))))))
|
||||
|
||||
(vc-append (grays 1/8 'right) (grays 1/16 'left)
|
||||
(grays 1/32 'right) (grays 1/64 'left))
|
||||
Loading…
Add table
Add a link
Reference in a new issue