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
|
// update ranges
|
||||||
for ( unsigned int i = 0; i < 100000; i++ ) {
|
for ( unsigned int i = 0; i < 500000; i++ ) {
|
||||||
iterate();
|
iterate();
|
||||||
|
|
||||||
for ( std::vector<Projector*>::iterator it = projectors.begin(); it != projectors.end(); it++ ) {
|
for ( std::vector<Projector*>::iterator it = projectors.begin(); it != projectors.end(); it++ ) {
|
||||||
|
|
|
@ -78,7 +78,9 @@ void Projector::plot(const double * point) {
|
||||||
|
|
||||||
double position[] = {x,y,z};
|
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);
|
canvas->plot(position);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -2,9 +2,9 @@
|
||||||
input: "attractor"
|
input: "attractor"
|
||||||
output: "png"
|
output: "png"
|
||||||
|
|
||||||
attractor: {
|
AttractorKernel: {
|
||||||
type: lorenz/unravel/polynomial/polynomial a/logistic
|
type: lorenz/unravel/polynomial/polynomial a/logistic
|
||||||
=> "Lorenz"
|
=> "lorenz"
|
||||||
dimensions: most types only support 3D
|
dimensions: most types only support 3D
|
||||||
=> "3"
|
=> "3"
|
||||||
|
|
||||||
|
|
Reference in a new issue