export lorenz
This commit is contained in:
parent
972ccfd30a
commit
5adcdc1f74
3 changed files with 6 additions and 4 deletions
|
@ -43,7 +43,7 @@ void Attractor::init_range() {
|
|||
}
|
||||
|
||||
// update ranges
|
||||
for ( unsigned int i = 0; i < 100000; i++ ) {
|
||||
for ( unsigned int i = 0; i < 500000; i++ ) {
|
||||
iterate();
|
||||
|
||||
for ( std::vector<Projector*>::iterator it = projectors.begin(); it != projectors.end(); it++ ) {
|
||||
|
|
|
@ -78,8 +78,10 @@ void Projector::plot(const double * point) {
|
|||
|
||||
double position[] = {x,y,z};
|
||||
|
||||
if (-1.0 < x && x < 1.0 && -1.0 < y && y < 1.0 && -1.0 < z && z < 1.0){
|
||||
canvas->plot(position);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void Projector::output(){
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
input: "attractor"
|
||||
output: "png"
|
||||
|
||||
attractor: {
|
||||
AttractorKernel: {
|
||||
type: lorenz/unravel/polynomial/polynomial a/logistic
|
||||
=> "Lorenz"
|
||||
=> "lorenz"
|
||||
dimensions: most types only support 3D
|
||||
=> "3"
|
||||
|
||||
|
|
Reference in a new issue