+ Reply to Thread
Results 1 to 5 of 5

Thread: TI-BASIC Tutorial - Graphics

  1. #1
    exfyre is offline Newbie
    Join Date
    Feb 2008
    Posts
    16
    Rep Power
    16

    TI-BASIC Tutorial - Graphics

    Introduction
    TI-BASIC is the built-in program language that comes with the TI-83/84+ calculators
    Optional Resources
    1. TI-83 Plus Flash Debugger -> for running programs
    2. TI Graph link -> For writing & saving programs
    -or-
    a TI-83/84 Plus calculator -> writes and runs programs

    Graphics
    Graphics are very important when it comes to programming. Good graphics make your program appealing, bad graphics make it not appealing. This tutorial will cover the basics of using graphics functions with TI-BASIC.

    Most commonly used graphics functions:
    Code:
    Line(
    PxlOn(
    PxlOff(
    PtOn(
    PtOff(
    ClrDraw

    Note: For graphics I recommend setting the Window dimensions to the following:
    Xmin=0
    Ymin=0
    Xmax=94
    Ymax=62


    Line:
    Syntax: Line(x1,y1,x2,y2[, N]
    To draw a black line from bottom left of screen to top right (only with the previousy listed window dimensions):
    Code:
    :Line(0,0,94,62
    For a white line:
    Code:
    :Line(0,0,94,62,0
    To fill the screen one line at a time, from the bottom up:
    Code:
    :For(A,0,62
    :Line(0,A,94,A
    :End
    Line( is dependent on what you set your window dimensions to.




    PxlOn( & PxlOff(:
    Syntax: PxlOn(y,x
    Syntax: PxlOff(y,x
    y starts from the top, x from the left
    y and x for PxlOn/Off( do NOT depend on the window dimensions.

    PtOn( & PtOff(:
    Syntax: PtOn(x,y
    Syntax: PtOff(x,y
    These are window dependent.

    ClrDraw:
    Quickly clears the whole draw screen

    Challenge:
    Create code that fills the screen only using For( loops and PxlOn(.
    Attached Thumbnails Attached Thumbnails TI-BASIC Tutorial - Graphics-screen010001.gif  
    Last edited by exfyre; 08-31-2009 at 05:58 PM.

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    Jordan Guest

    Re: TI-BASIC Tutorial - Graphics

    Now it is getting interesting. How about some screenshots?
    +rep

  4. #3
    Join Date
    Jul 2006
    Posts
    16,491
    Blog Entries
    75
    Rep Power
    143

    Re: TI-BASIC Tutorial - Graphics

    +rep
    Programming is a branch of mathematics.
    My CodeCall Blog | My Personal Blog

  5. #4
    exfyre is offline Newbie
    Join Date
    Feb 2008
    Posts
    16
    Rep Power
    16

    Re: TI-BASIC Tutorial - Graphics

    Will do ASAP. I let a friend borrow my TI-84 at school & forgot to get it back from him, and my computer is getting a "Can't run 16-bit Windows application Error" when I try to use the TI-Graphlink (which worked a few months ago, but for some reason isn't working now.) If I remember Monday, when I get back from school I'll try to add some screenies to this.

  6. #5
    exfyre is offline Newbie
    Join Date
    Feb 2008
    Posts
    16
    Rep Power
    16

    Re: TI-BASIC Tutorial - Graphics

    ^bump^
    added an animated graphic showing one of the examples.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. TASM I need some tutorial about graphics
    By H2010 in forum Assembly
    Replies: 9
    Last Post: 11-13-2010, 10:56 AM
  2. Pygame Tutorial - Graphics
    By Cory Duchesne in forum Python
    Replies: 0
    Last Post: 05-11-2010, 08:54 PM
  3. TI-BASIC Tutorial - Loops
    By exfyre in forum Tutorials
    Replies: 2
    Last Post: 08-29-2009, 06:42 AM
  4. need basic java tutorial
    By kiddies in forum Java Help
    Replies: 10
    Last Post: 08-04-2009, 04:09 AM
  5. Tutorial : Joomla! The Basic
    By takercena in forum Tutorials
    Replies: 4
    Last Post: 02-22-2008, 09:06 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts