Difference between revisions of "83Plus:Basic:Graphics:Shade("
From WikiTI
(→Comments) |
|||
Line 21: | Line 21: | ||
* Pattern may only be 1-4 | * Pattern may only be 1-4 | ||
− | * Pixel will not throw an | + | * Pixel will not throw an error |
== Examples == | == Examples == |
Revision as of 13:57, 7 April 2006
Contents
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 error
Examples
To make a sort of Star Trek: Voyager logo:
:Shade(−X^2-2,−X^2+7,−10,10,3,2