Skip to content

Commit

Permalink
Change width, height and limit.
Browse files Browse the repository at this point in the history
  • Loading branch information
jtpalmer committed Oct 10, 2010
1 parent ff27e12 commit 1ab8ce4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions mandelbrot.pl
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@
use Math::Fractal::Mandelbrot;

my $title = 'Mandelbrot Fractal';
my $width = 640;
my $height = 480;
my $width = 1024;
my $height = 768;
my $view = [ -2, -1, 1, 1 ]; # [ min_x, $min_y, $max_x, $max_y]

Math::Fractal::Mandelbrot->set_max_iter(255);
Math::Fractal::Mandelbrot->set_limit(4);
Math::Fractal::Mandelbrot->set_bounds( @$view, $width, $height );

my $app = SDLx::App->new(
Expand Down

0 comments on commit 1ab8ce4

Please sign in to comment.