This applet generates polarity cartoons. What on earth is a polarity cartoon? Read this blog post.

Use the form below to make a quick cartoon (right-click > copy image), or scroll down to read about the API.


Use the API

Quick URL for PNGs:


There's a different endpoint for SVGs:


Example URL with the default values:


The parameters (defaults in bold):

Get the code

You can get the code here. The script has a command line interface, or use it as a module in your own code.

About this app

The cartoons are matplotlib plots generated by a Python Flask web app running on AWS Elastic Beanstalk.

CC0 Images generated by this tool are free from copyright. Do whatever you like with them.