Difference between revisions of "TI-BASIC:SK:Summary Graphics"
From Learn @ Cemetech
Jump to navigationJump to search (Automated internal link correction) |
(Automated internal link correction) |
||
Line 22: | Line 22: | ||
|tocpage = TI-BASIC:Starter_Kit | |tocpage = TI-BASIC:Starter_Kit | ||
|toctitle = Table of Contents | |toctitle = Table of Contents | ||
− | |nextpage = TI-BASIC:SK: | + | |nextpage = TI-BASIC:SK:Exercises_Graphics |
|nexttitle = Chapter Exercises}}[[Category:TI-BASIC]] | |nexttitle = Chapter Exercises}}[[Category:TI-BASIC]] | ||
[[Category:TIBD]] | [[Category:TIBD]] |
Latest revision as of 00:57, 25 February 2016
- Creating graphics is done on the graph screen, not the home screen.
- On the graph screen, locations are given either as point or pixel coordinates.
- Pixel coordinates start with (0,0) at the top left corner, like on the homescreen, but increment in individual pixels.
- Point coordinates depend on the window dimensions.
- You can adjust the window dimensions by manipulating the window variables and/or by using the zoom commands.
- You can also use the format commands to turn the axes off and other related things.
- You can save the window dimensions, format options, and other related things in a GBD. (Graph Database)
- Once you have the graph screen set up, you can draw on it using the draw commands.
- You can erase the graph screen with the ClrDraw command, and you can save what is on the graph screen in a Pic.(Picture)
- Unfortunately Pics can only store the entire screen. They also don't force pixels that are already black to become white; sometimes this can be a good thing.
- One particularly creative and effective way to create sprites is known as the text sprite method.This involves overlapping text to create sprites quickly.
Commands Introduced
- StorePic, RecallPic, StoreGDB, RecallGDB
- Pxl_On(, Pxl_Off(, Pxl_Change(, Pxl_Test(, Pt_On(, Pt_Off(, Pt_Change(
- ZStandard, ZInteger, FnOff, FnOn, AxesOn, AxesOff
- Horizontal, Vertical, Line(, Circle, DrawF, DrawInv, Tangent(, Shade(, Text(
<< Using Pictures | Table of Contents | Chapter Exercises >> |