Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,13 @@ void PtToScreen(double px, double py, int& x, int& y) {
//All fractal equations
void mandelbrot(double& x, double& y, double cx, double cy) {
double nx = x*x - y*y + cx;
double ny = 2.0*x*y + cy;
double ny = 3.0*x*y + cy;
x = nx;
y = ny;
}
void burning_ship(double& x, double& y, double cx, double cy) {
double nx = x*x - y*y + cx;
double ny = 2.0*std::abs(x*y) + cy;
double ny = 3.0*std::abs(x*y) + cy;
x = nx;
y = ny;
}
Expand Down Expand Up @@ -574,7 +574,7 @@ int main(int argc, char *argv[]) {
" 2 - Burning Ship\n"
" 3 - Feather Fractal\n"
" 4 - SFX Fractal\n"
" 5 - H�non Map\n"
" 5 - Hénon Map\n"
" 6 - Duffing Map\n"
" 7 - Ikeda Map\n"
" 8 - Chirikov Map\n"
Expand Down