This definitely seems worth experimenting with. big-bang does (can,
really) create bitmaps itself. It gets 2htdp/image images from the
user's program and then it can create a bitmap to draw them into
directly, if it wants to. It may already be creating a bitmap
explicitly, I'm not sure.
Robby
2015-05-11 0:56 GMT+02:00 Matthew Flatt mfl...@cs.utah.edu:
At Mon, 11 May 2015 00:30:05 +0200, Jens Axel Søgaard wrote:
2015-05-11 0:07 GMT+02:00 Matthew Flatt mfl...@cs.utah.edu:
If you're on OS X, try creating the bitmap with
(send canvas make-bitmap screen-width screen-height)
2015-05-11 2:24 GMT+02:00 Robby Findler ro...@eecs.northwestern.edu:
But if you have a specific destination in mind you can make the bitmap
first and then draw the 2htdp/image into it (or anything into it!)
When I use my own game-loop it is easy enough to use the make-bitmap method
of the
But if you have a specific destination in mind you can make the bitmap
first and then draw the 2htdp/image into it (or anything into it!)
Robby
On Sunday, May 10, 2015, Matthew Flatt mfl...@cs.utah.edu wrote:
At Mon, 11 May 2015 00:30:05 +0200, Jens Axel Søgaard wrote:
2015-05-11 0:07
If you're on OS X, try creating the bitmap with
(send canvas make-bitmap screen-width screen-height)
instead of
(make-object bitmap% screen-width screen-height)
Roughly, using the `make-bitmap` method creates a bitmap that's on the
graphics card instead of main memory.
At Sun, 10 May 2015
Worked like a charm.
Thanks!
2015-05-11 0:07 GMT+02:00 Matthew Flatt mfl...@cs.utah.edu:
If you're on OS X, try creating the bitmap with
(send canvas make-bitmap screen-width screen-height)
instead of
(make-object bitmap% screen-width screen-height)
Roughly, using the `make-bitmap`
2015-05-11 0:07 GMT+02:00 Matthew Flatt mfl...@cs.utah.edu:
If you're on OS X, try creating the bitmap with
(send canvas make-bitmap screen-width screen-height)
instead of
(make-object bitmap% screen-width screen-height)
Roughly, using the `make-bitmap` method creates a bitmap that's
At Mon, 11 May 2015 00:30:05 +0200, Jens Axel Søgaard wrote:
2015-05-11 0:07 GMT+02:00 Matthew Flatt mfl...@cs.utah.edu:
If you're on OS X, try creating the bitmap with
(send canvas make-bitmap screen-width screen-height)
instead of
(make-object bitmap% screen-width
8 matches
Mail list logo