Problems with very large images
Open
Nobody has claimed this yet.
- Dominant language
- Racket
- Stars
- 112
- Forks
- 73
- Avg merge
- 9h 41m
- Merged PRs (30d)
- 1
Description
With a program with a very large image in it, DrRacket become extremely sluggish, and animate seems to show only a black square some of the time.
To reproduce, in Beginning Student:
(define airplane ...) ;; paste in this image https://image.cnbcfm.com/api/v1/image/106537227-1589463911434gettyimages-890234318.jpeg?v=1589463982
(require 2htdp/image)
(require 2htdp/universe)
(define plane (scale 0.05 airplane))
(image-height plane)
(define (go n) (place-image plane 200 n (empty-scene 400 400)))
(go 0)
(go 50)
(go 150)
(go 250)
(go 350)
(go 450)
(animate go)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by running the Beginning Student reproduction in DrRacket with the linked JPEG, using 2htdp/image and 2htdp/universe. Investigate the behavior of scale, place-image, empty-scene, and animate with the very large image; done means DrRacket remains responsive and the animation renders the plane instead of an intermittent black square.
Written by the indexing model from the issue text.
Assessment
- Domain
- computer-graphics, performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100