IntMap: Difference between revisions

From Moonlight Design
Jump to navigation Jump to search
(New page: IntMap is a library that I wrote for a larger project in my first computer science class in high school. The project was a graphical animation of a [http://en.wikipedia.org/wiki/Cat cat] e...)
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
IntMap is a library that I wrote for a larger project in my first computer science class in high school. The project was a graphical animation of a [http://en.wikipedia.org/wiki/Cat cat] eating a [http://en.wikipedia.org/wiki/Fish fish] and was written in {{Tech:Pascal}} for {{Tech:DOS}}. IntMap provided the image loading, display, movement, and rotation for the project, permitting me to use scanned drawings of a cat, a fish, and a smiling sun in the scene. The scans were manually copied into text files that represented each pixel color value as a single [http://en.wikipedia.org/wiki/Integer integer] in a space-separated row of pixels for each line. These files used the "imp" extension for "integer map," which was a play on "[http://en.wikipedia.org/wiki/BMP_file_format bitmap]." One integer value is reserved for full transparency -- similar in concept to the [http://en.wikipedia.org/wiki/Graphics_Interchange_Format graphics interchange format (GIF)]. Movements and rotations are handled efficiently to require only one pass at screen drawing for each operation. Damaged regions are stored in memory before the damage, enabling proper damage recovery without having to redraw the background.
IntMap is a library that I wrote for a larger project in my first computer science class in high school. The project was a graphical animation of a [http://en.wikipedia.org/wiki/Cat cat] eating a [http://en.wikipedia.org/wiki/Fish fish] and was written in {{Tech:Pascal}} for {{Tech:DOS}}. IntMap provided the image loading, display, movement, and rotation for the project, permitting me to use scanned drawings of a cat and a fish in the scene. The scans were manually copied into text files that represented each pixel color value as a single [http://en.wikipedia.org/wiki/Integer integer] in a space-separated row of pixels for each line. These files used the "imp" extension for "integer map," which was a play on "[http://en.wikipedia.org/wiki/BMP_file_format bitmap]." One integer value is reserved for full transparency -- similar in concept to the [http://en.wikipedia.org/wiki/Graphics_Interchange_Format graphics interchange format (GIF)]. Movements and rotations are handled efficiently to require only one pass at screen drawing for each operation. Damaged regions are stored in memory before the damage, enabling proper damage recovery without having to redraw the background.


==IntMap2==
==IntMap2==
Line 5: Line 5:


==Download==
==Download==
*'''[https://www.moonlightdesign.org/steve/programs/intmap.zip Download IntMap for Pascal]'''
*'''[https://www.moonlightdesign.org/steve/programs/intmap.zip Download IntMap for Pascal]''', which includes the food chain group project that my cat animation is a part of
*'''[https://www.moonlightdesign.org/steve/programs/intmap2.zip Download IntMap2 for C and DOS]'''
*'''[https://www.moonlightdesign.org/steve/programs/intmap2.zip Download IntMap2 for C and DOS]''', which might not work as it's not well-tested

Latest revision as of 16:15, 14 October 2007

IntMap is a library that I wrote for a larger project in my first computer science class in high school. The project was a graphical animation of a cat eating a fish and was written in Pascal for DOS. IntMap provided the image loading, display, movement, and rotation for the project, permitting me to use scanned drawings of a cat and a fish in the scene. The scans were manually copied into text files that represented each pixel color value as a single integer in a space-separated row of pixels for each line. These files used the "imp" extension for "integer map," which was a play on "bitmap." One integer value is reserved for full transparency -- similar in concept to the graphics interchange format (GIF). Movements and rotations are handled efficiently to require only one pass at screen drawing for each operation. Damaged regions are stored in memory before the damage, enabling proper damage recovery without having to redraw the background.

IntMap2

IntMap2 was a port of IntMap to the C programming language that uses the extended memory specification (XMS) for storing integer maps as well as standard bitmap (BMP) files, though IntMap2 has not been thoroughly tested. It was abandoned due to a lack of need for it.

Download