Douwe's Projects

Here's some stuff I built over the years. The projects described here range from one night ideas turned into code to life-long endeavours. Some are based on APIs or databases that might not be around anymore but hopefully the idea still carries over.

Deep Learning Cookbook

I wrote a book for O'Reilly about Machine Learning. It will teach you a wide range of techniques, using projects similar to the sort of thing that you can find on this website. Word2Vec, GANs, music analysis. You should buy it! Oh and all the code is on GitHub.

Hacker News sorted on freshness

Change the sorting of hackernews based on freshness - high scoring old news vs low scoring new news.

Processing Evolved

Start from a simple square and follow different evolutionary paths to create a complex animation. Each step the AI will create a new animation based on the previous one and your prompt.

Mandel Sheet

Animation of the mandelbrot set created in Google Sheets using Python by way of the Neptyne Sheets add-on. There are more productive ways to use Python inside of Google sheets, but this is more fun.

The AI not taken

Based on OpenAIs DALL-E-2, The AI not taken generates illustrations for well known poems. For each poem there is an associated artist (usually from the same time, maybe same style) that is used to create an image in that style matching each line of the poem.

Triposo Travel Guide

Triposo was a startup whose goal it was to write a travel guide of the world using AI and the content on the web. Got reasonable traction but might have been a little too early for its time. Was fun though.

Deep Travel

A world travel guide generated by GPT3 trained on a small set of descriptions of cities and their highlights. Even though the writing may sound natural and convincing, a lot of it is completely made up by the AI. Do not trust it for your next trip.

Conway

A tribute to John Conway, the inventor of the Game of Life. In this cellular automaton, cells can move to adjacent fields and are governed by a random matrix of attraction.

Never Sleep

They say New York is the city that never sleeps. But is it true? This visualization shows the relative popularity of bars over time for a variety of cities. Take it into account when planning your next trip.

Visited Countries

The OG of douwe projects. A map of the world where you can color in the countries you have visited. You get the code to put the map on your website. If you want to edit the map, just paste the code back into the box.

QR Business Cards

Nobody has business cards any more, but sometimes you want to exchange contact details. This project allows you to add your contact details as a qr code to your lock screen. So just pull out your phone and let the other person scan your qr code without even unlocking your phone.

An AI Guide to the US

Generated using stable diffusion, here we have the states and DC each represented by an image of their top attraction. Top attractions were determined using GPT-3 so it's a fully AI generated travel guide.

World Pop

Inspired by Gap Minder, this shows the population of the countries of the world by morphing their shapes from 1880 to 2020.

World66 Travel Wiki

World66 was my first travel startup. The idea was to let people write a travel guide of the world, wiki-style. It actually predates the wikipedia, so we might have been on to something. The site got sold and then merged with wikitravel. Wikitravel is still around, but world66 is not.

Gram Zoom

Gramzoom uses the key element of the Style Tranfer Algorithm to create an infinitely zoomable movie from any image. It works best with images that are self similar, but anything will really do. Can cats look evil? It might just break the Internet.

Geo Tweets

Extracting emojis from geocoded tweets allows us to show them over a 24 hour cycle on a world map andobserve when people do certain things, like drinking coffee, sipping beer or sleep.

The Travel Belt

The Triposo travel belt is an implementation of an old idea of mine to give people a sense of direction by adding little buzzers to a belt that are connected to a device that knows about locations, in this case a smart phone. Every time you need to turn in a certain direction, the buzzer in that direction will go off and you can move around time without having to look at your phone.

Archean

The Archean project explores self organization by multiplying the six dimensional strings in a matrix world with a transformation matrix, a little like Conway's game of life, but then in full color. From a random pattern something more ordered emerges. Different every time!

World Sizer

What does the world look like if we size the countries according to the number of people living there? GDP? Size of the military? This project allows you to explore the world in a different way.

Sea Level Rise

Combines population density with an elevation map to show how many people are at risk given a certain amount of sealevel rise. Obviously doesn't mean that the sea will rise that much, but it still shows you how coastal our species is.

Culture Lens

Translating words from one language in another seems straight forward enough. But translating one word to a different culture is sheer impossible. Breakfast translates to 'Ontbijt' in Dutch, but the meal differs significantly. Culture Lense shows this by using Image Search to visualize words not in different languages, but in different cultures.

Universal Numbers

Create universal numbers by comparing the edit distance between all numbers from Wikitravel's phrasebooks and for each picking the 'median' one. As a side effect, create a tree an evolutionary tree.

Mercator Projection

Mercator projection is bad. By enabling the pole to be changed, we can better understand the distortions caused by the Mercator projection.. Make Greenland small again!

Droste Movies

Small project to create movies from pictures that could "recurse", i.e. part of the picture could be replaced by the picture itself. Especially relevant in these days with everybodytaking pictures using cell phones all the time.

Football Predictions

Mostly for the 2014 World Cup, with some adjustments to make it work for the European Championship in 2016,this model takes previous matches and tries to predict the future outcomes. The model is super simple andyet especially in 2016 did rather well.

State animals imagined by AI

Generated using stable diffusion, here we have the states and DC each represented by an image of their state animals. Not all states have state animals, sometimes it is just the fish or the state bird

Ballooning with Android

A few weeks ago some old friends came visit me from the Netherlands. Since we didn’t just want to sit around drinking beer and reminiscing about our salad days, we decided to undertake a Project. It was great fun. It also taught me that Dropbox is the new Unix pipe. The glue that holds your digital hobby project together.

Styled Museums

Using the Artistic Style algorithm to restyle pictures of museums in the style of their most famous painting. This way you get immediately an idea of what to expect at these museums. Uses data from Wikipedia, Wikidata andthe Wikistats. Uses Anish Athalye Tensorflow implementation

Deep Ink

An implementation of deep dreaming where the network is restricted to just black and white and starts with a blob in the middle. It forces it to draw from the center and create ink like patterns.

Mandylion

Using Recurrent Neural Networks to generate Icons and Hieroglyphs. The icons are encoded in a machine learnable format.

Visual Movie Recommender

A movie recommender trained not on people rating movies, but solely on the outgoing links from the Wikipedia article. By forcing the recommendation vectors into two dimensions, we make it possible to explore movies and their neighbors.

Marconi

An implementation of a Spotify-like song radio based on Word2Vec. Based on a large set of crawled playlists and using those playlists as sentence equivalents. The Word2Vec algorithm then produces a vector per song.

Reverse Image Search

Use a pretrained image classifier to power a reverse image search engine like the Tineye or GoogleImage search. Returns only from a rather select set of images.

World map of

World map of uses Word2Vec to color a world map based on the distance between words and the names of countries. Country names are an interesting way to geocode the semantic values of words though a bit noisy.

Style Transfer Interpolation

Adaption of the Keras implementation of style transfer supporting multiple style images.

Karakame

From the pseudo-Japanese for 'Empty Camera', Karakame is an iOS app that let's you take a series of pictures from a scene where people walk in and out of the picture and will then remove those people. Neat if you are a busy tourist site.

Offline Movie Reviews

Toy app for me to learn Swift, but also kinda useful as it lets you take reviews of movies with you in the plane so you can decide what to watch while not having access to rotten tomatoes.

Twitter Bot

This project uses the twitter api to automatically generate tweets based on what is commonly tweeted. It listens to the general tweetstream and captures fragments. By randomly recombining those fragments something that reads almost like real tweets appears. It also gives an interesting insight into what the average user uses twitter for.

Word Color

Calculate the color associated with an image by averaging the images when searching for this word

Mapped Web

Physical distances are not the same as psychological distances. Physical distances are easy enough to measure, but how do we go about measuring psychological distances? The Mapped Web does this by taking the chance that given a page contains the name of one country it will also contain the name of another country as a measure for psychological distance. The resulting images show us how close countries are to each other in psychological terms.

Vendian

Vendian is an a-life simulation. Every creature runs a BASIC-like program and the program evolves. The best program wins. You can write your own programs or see evolution work.

Caerfai

Caerfai is a first attempt at simulating chemical reactions. The model is much too simple to be useful, but it gives some nice images and animations. Source is included and offers a nice starting point for similar endevours.

Cambrium

One of my better alife programs. Cambrium shows creatures crawling around the screen in search for food. The creatures are controled by a neural network and assembled out of parts.

Google Chat Bot

Ever wondered what Google would say if it could talk? Wonder no more. Enter three or four words and Google will finish your thoughts by searching for what comes next after these words. [Broken]

Landgeist

Land Geist is a combination of Googles Zeit Geist, Google Mind Share and Visited Countries. For keywords like 'war', 'poverty', 'party', this project shows which country (names) have the highest relative scores (google shares). [Broken]

Eddie the DJ

Eddie lets you manage your music on your computer by voice commands. Source in Delphi and Python included.

Abracadabra

There is a monkey hitting a typewriter at random. He is only hitting letters and that the chance for each letter to get hit is equal. Do you have to wait on average longer, the same or shorter before the monkey will have typed 'abracadabra' or 'abcdefghijk' (i.e. a string with an equal amount of characters)? Let's find out.

AI or Real at the Met Gala

Guess which pictures are from the Met Gala and which are generated by an AI.