Earlier quoted context omitted.
OK, for a less abstract description, the site gives: "For each complex number c calculate the following: For all gaussian integers g like 1+1i, 2+2i, 3+3i... when calculating g/c which percentage results in a gaussian integer again? The higher the percentage, the lighter the pixel." So, Imagine you have: c = a+bi g = x+xi Division by complex numbers is simplified with a trick of multiplying both numerator and divisor…
jc-denton replied, but appears to be hellbanned. His reply looks like this: --- Humm tried to implement it simply using std::complex but it does not give me meaningful results. What did I do wrong? template void CalcRealPercentage( const complex from, const complex to, const int intervalSize, std::vector & intensityMap ){ auto height = to.imag() - from.imag(); auto width = to.real() - from.real(); assert(intervalSize…
Not sure why he was hellbanned and not Zed after that little exchange.