83Plus:Basic:Graphics:Shade(

From WikiTI
Revision as of 14:57, 7 April 2006 by Dr. D'nar (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


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
  • Pixel will not throw an ERR:DOMAIN

Examples

To make a sort of Star Trek: Voyager logo:

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

See also: