Skip to content
This repository has been archived by the owner on May 15, 2021. It is now read-only.

erikbrinkman/principia

Repository files navigation

Principia

deno tests

A command line utility for generating plots roughly according to the guiding ideas behind Principiae. This video presents a quick discussion on the types of plots that this tool is meant to capture. The command contains several useful sub-commands that are meant to be chained together.

Installation and Usage

Install

Install the latest version:

deno install https://deno.land/x/principia/index.ts

Usage

Get up to date help:

principia --help

Plot a json plotting spec as an svg:

principia plot -i <spec.json> -o <plot.svg>

Render an svg, and potentially update layout in ways only possible when rendering:

principia render -i <plot.svg> -o <rendered.{html,pdf,png,jpg}>

Plot Styles

Evolution

FIXME

evolution

evolution with span

Absolute Comparison

FIXME

absolute comparionson

Acknowledgemnts

  • This is all inspired from Jean-Luc Doumont, and one of the color themes is taken from their material.
  • Many of the color themes come from Color Brewer.
  • One of the color themes comes from Mathematica pallet 97.
  • One of the color themes comes from official University of Michigan branding.
  • One of the color themes comes from Solarized.
  • Some names for the colors were generated or inspired by Name that Color.

About

A library for making plots loosely based off of principiae

Resources

License

Stars

Watchers

Forks

Packages

No packages published