Quantcast
Channel: Fast Company
Viewing all articles
Browse latest Browse all 2739

Twitter Bot Automatically Generates Trippy Glitch Art

$
0
0

PixelSorter is a new Twitter bot by developer Way Spur-Chenn that automatically glitches out any image you tweet its way.

After mentioning PixelSorter in a tweet with an uploaded image, it will then download the image, and begin segmenting an image into rows or columns according to their hue, brightness, luminance, etc. A few moments later, PixelSorter will @reply you with its own glitched-out version of the image you just uploaded.

If you want to get technical, there are many more parameters you can use to get PixelSorter spitting out specific kinds of glitchy images. For example, if you want your image to be filtered using PixelSorter's "Drip" glitch, you can specify "preset[drip]" in your tweet. And there are a lot of other presets and custom parameters you can try for yourself if you're feeling adventurous.

It's a fun little diversion, considering Twitter bots and glitch art are two of our favorite things here at Co.Design. Mash up the two, and look—the post writes itself.

Now if someone would just come up with a Twitter bot that writes a Co.Design post every time another Twitter bot makes some glitch art, we can automate this whole process.

Sign up to learn more about Fast Company's Innovation Festival in November

'); $form.parent('div').removeClass('error'); }; function _formFail ($form, error) { if (!$form) { return; } // Use message from server response var message = JSON.parse(error.responseText); if (message.response && message.response.message) { message = message.response.message; // Error message not provided } else { message = 'Please enter a valid email address.'; } var $parent = $form.parent('div'); // Remove other errors first var $errors = $parent.find('.alert-box'); if ($errors) { $errors.fadeOut(300, function() { $(this).remove(); }); } if (message && (message.code === -100)||(message.code === 220)) { message = 'Please enter a valid email address.'; } // Append new errors $form.parent('div').prepend('
' + message + '
'); $form.find('input').prop('disabled', false); }; }); })

Viewing all articles
Browse latest Browse all 2739

Trending Articles