Navigation About

Virtual Gallery Bot 2

redoing the very first bot again

The infrastructure of a bot is:

the technical details

Using nodejs with twit library and slack-node-sdk

A simple slack webhook is all one needs to build a simple bot:

const { IncomingWebhook, WebClient } = require('@slack/client');

const webhook = new IncomingWebhook(process.env.SLACK_WEBHOOK_URL);
const currentTime = new Date().toTimeString();
    "text": "Required plain-text summary of the attachment.",
    "attachments": [
            "fallback": "Required plain-text summary of the attachment.",
            "color": "#2eb886",
            "pretext": "Optional text that appears above the attachment block",
            "author_name": "Bobby Tables",
            "author_link": "",
            "author_icon": "",
            "title": "Slack API Documentation",
            "title_link": "",
            "text": "Optional text that appears within the attachment",
            "fields": [
                    "title": "Priority",
                    "value": "High",
                    "short": false
            "image_url": "",
            "thumb_url": "",
            "footer": "Slack API",
            "footer_icon": "",
            "ts": currentTime
}, (error, resp) => {
  if (error) {
    return console.error(error);
  console.log('Notification sent');

Do not forget to set the SLACK_WEBHOOK_URL environment variable first.
For more details please red Node Slack SDK.

The Generator

The generator, which creates the images for the gallery, was inspired mostly by the painting of Adolf Fleischmann and
Frantichek Kupka. Though the are small portion of Sean Scully and a lot of Agnes martin inside. Using this generator for
a ongoing animation, creates a different feeling. The animation is exclusivly generated for every visitor.

If someone visits the gallery, one new image is create. The time-gap between the visits must be 3 hours,
otherwise no picture is generated.

Details on the generator: it is a remixer. Two different kind of generator are combined to work as one. has some social channels on Twitter and Slack. You are invited to parcitipate.

Generator overview Navigation About