83Plus:Basic:Graphics:Shade(: Difference between revisions

From WikiTI
Jump to navigationJump to search
m cleanup
Line 27: Line 27:


  :Shade(−X^2-2,−X^2+7,−10,10,3,2
  :Shade(−X^2-2,−X^2+7,−10,10,3,2
== See also: ==

Revision as of 03:14, 16 April 2006


Synopsis

Token size: 1 byte

Syntax: Shade(lower equation,upper equation[,left side of X to shade from,right side of X to shade to[,pattern,pixel frequency]])

Shades in an area defined by the two equations, with a pattern at a certain pixel frequency.

Patterns are:

  • 1: vertical
  • 2: horizontal
  • 3: slanted (top left to bottem right)
  • 4: slanted (bottem left to top left)

Outputs:

Shaded in area on the graph screen

Comments

  • Pattern may only be 1-4

Examples

To make a sort of Star Trek: Voyager logo:

:Shade(−X^2-2,−X^2+7,−10,10,3,2