--- /dev/null
+'use strict';
+
+// random colors
+const Random = function (modulation, width, height, renderer) {
+ let response = '';
+
+ for (let i = 0; i < height; i++) {
+ for (let j = 0; j < width; j++) {
+ let red = Math.floor(Math.random() * 255);
+ let blue = Math.floor(Math.random() * 255);
+ let green = Math.floor(Math.random() * 255);
+
+ response = response + renderer(red, blue, green);
+ response = response + ' ';
+ }
+
+ if (i < height - 1) {
+ response = response + '\n';
+ }
+ }
+
+ return response;
+};
+
+module.exports = Random;