Polarity

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.

frequency
degrees

Use the API

Quick URL for PNGs:

https://agile.geosci.ai/polarity.png

There's a different endpoint for SVGs:

https://agile.geosci.ai/polarity.svg

Example URL with the default values:

https://agile.geosci.ai/polarity.png?layer=hard&polarity=normal&freq=med&phase=0&style=vd&cmap=RdBu

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 pythonanywhere.com.

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