void registerVisitsAndrewsCoolWay(double[] buffer, int index) { for (int i = 1; i < FACTORS; i++) { buffer[i] *= 0.98; } buffer[index] += 0.01; if (index + 1 < FACTORS) { buffer[index + 1] += 0.006; } if (index - 1 > 0) { buffer[index - 1] += 0.006; } }(from CassiusClay's gun)
-- PEZ