racket / racket/htdp

color-list->bitmap doc vs. DrRacket rendering

Open
#148 11 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Racket
Stars
112
Forks
73
Avg merge
9h 41m
Merged PRs (30d)
1

Description

I'm having two problems with color-list->bitmap: the documentation shows a gradient, but when running the example in DrRacket 8.0.900, it only shows the 3 colors without gradient. Also, a lot of colors that work with other functions do not display correctly (i.e. 'dark gray', 'light turquoise' etc).

Doc:
color-list-to-bitmap_doc

Actual:
color-list-to-bitmap_DrRacket_8 0 900

Dex

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the documented color-list->bitmap example in DrRacket 8.0.900 and compare its gradient and named-color rendering with the documentation screenshot. Trace whether the discrepancy belongs to the example, documentation, or rendering behavior; done means the documented result and the displayed colors agree.

Written by the indexing model from the issue text.

Assessment

Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.