On Wed, 27 Apr 2005, shreeswifty wrote:
how does one make the windows bigger?
The window always adjust to the size of the last picture you have sent it. So if you send it a grid of size (480,640,3), it will make the window 480 pixels high, 640 pixels wide, and will output the picture to the window, interpreted as RGB.
Try this:
[480 640 3 # 255 0 0 ( | [#out window]
Also you can use those filters:
[#scale_by 2] upscales by 2
[#scale_by (3 5)] upscales by 3 vertically, and by 5 horizontally
it uses order 0 interpolation, meaning that it just repeats pixels. I haven't coded anything for order 1 (linear) or order 3 (cubic) interpolation yet.
,-o---------o---------o---------o-. ,---. | |
| The Diagram is the Program (TM) | | ,-o-------------o--------------o-.
-o-----------------------------o-' | | Mathieu Bouchard (Montréal QC) | |
---' `-o-- http://artengine.ca/matju -'