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://app.scienxlab.org/polarity.png

There's a different endpoint for SVGs:

https://app.scienxlab.org/polarity.svg

Example URL with the default values:

https://app.scienxlab.org/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.

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