MCPcopy Create free account
hub / github.com/HackerPoet/FractalSoundExplorer / burning_ship

Function burning_ship

Main.cpp:68–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66 y = ny;
67}
68void burning_ship(double& x, double& y, double cx, double cy) {
69 double nx = x*x - y*y + cx;
70 double ny = 2.0*std::abs(x*y) + cy;
71 x = nx;
72 y = ny;
73}
74void feather(double& x, double& y, double cx, double cy) {
75 std::complex<double> z(x, y);
76 std::complex<double> z2(x*x, y*y);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected