All Packages Class Hierarchy This Package Previous Next Index
Class picture.TimebombFractal
java.lang.Object
|
+----picture.PicPipe
|
+----picture.TimebombFractal
- public class TimebombFractal
- extends PicPipe
This PicPipe pipeline always ignores its source and returns a
timebomb fractal.
x1=log10(w2 * w1)
x2=log10(w2 / w1)
w1=power(10,(x2+x1)/2)
w2=power(10,(x2-x1)/2)
in the limit, w1 goes to zero and w2 goes to positive infinity.
This code is (c) 1998 Leemon Baird
<leemon@cs.cmu.edu>,
http://www.cs.cmu.edu/~baird
The source and object code may be redistributed freely.
If the code is modified, please state so in the comments.
- Version:
- 1.0, 19 June 1998
- Author:
- Leemon Baird
-
TimebombFractal()
-
-
BNF(int)
- Return the BNF definition of parameters this object parses.
-
get(PicPipeList, Colors, double, double, double, double, double, double, double, double)
- Return the color for a particular pixel given its size and location.
-
parse(Parser, int)
- Parse the input file to get this object's parameters.
-
unparse(Unparser, int)
- Output a description of this object that can be parsed with parse().
TimebombFractal
public TimebombFractal()
BNF
public String BNF(int lang)
- Return the BNF definition of parameters this object parses.
- Overrides:
- BNF in class PicPipe
unparse
public void unparse(Unparser u,
int lang)
- Output a description of this object that can be parsed with parse().
- Overrides:
- unparse in class PicPipe
- See Also:
- Parsable
parse
public Object parse(Parser p,
int lang) throws ParserException
- Parse the input file to get this object's parameters.
- Throws: ParserException
- parser didn't find the required token
- Overrides:
- parse in class PicPipe
get
public void get(PicPipeList source,
Colors color,
double x,
double y,
double z,
double t,
double dx,
double dy,
double dz,
double dt)
- Return the color for a particular pixel given its size and location.
- Overrides:
- get in class PicPipe
All Packages Class Hierarchy This Package Previous Next Index