Skip to main content

esch (v.) : to turn matricies into high quality svg (animations)

Project description

esch

Create beautiful presentations and visualizations inspired by Escher.

Components

  1. Typst presentation template
  2. CLI tool for generating presentations from Typst files
  3. Python package for Escher-inspired numpy array visualizations

Installation

npm install -g esch
pip install esch

Usage

Generate presentation

esch presentation input.typ

Create visualization

import esch
from jax import random


rng = random.PRNGKey(0)
data = random.normal(rng, (100, 37, 37))
esch.hinton(data).saveas('hinton.svg')  # save a svg animation with 100 frames (each frame is a 37x37 hinton-like plot)

Development

  1. Clone the repo
  2. Install dependencies: npm install and poetry install

License

MIT

For detailed documentation, visit our docs.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

esch-0.4.6.tar.gz (7.9 kB view details)

Uploaded Source

Built Distribution

esch-0.4.6-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

Details for the file esch-0.4.6.tar.gz.

File metadata

  • Download URL: esch-0.4.6.tar.gz
  • Upload date:
  • Size: 7.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.5 Darwin/24.1.0

File hashes

Hashes for esch-0.4.6.tar.gz
Algorithm Hash digest
SHA256 9560c9935ccfb3be081d55f20a53e3eef31ccc81f5656b5d7eb4fd0b81610fbb
MD5 60ccf717693921925ee5fc145d1b376c
BLAKE2b-256 450d2ca4addba55d1d4508e9c65922ce03e9ccf7cc793ef5ce4a3b640f8a6ee2

See more details on using hashes here.

File details

Details for the file esch-0.4.6-py3-none-any.whl.

File metadata

  • Download URL: esch-0.4.6-py3-none-any.whl
  • Upload date:
  • Size: 8.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.5 Darwin/24.1.0

File hashes

Hashes for esch-0.4.6-py3-none-any.whl
Algorithm Hash digest
SHA256 c4a8b72b8a060934f96a7eae6acde5bccf20d3afe5c1153eb6667f65c63f4816
MD5 2af0be9ae7c1777fa2964ad9183ada94
BLAKE2b-256 7cee75b71bfbc0f437e911d8adfbbe94ca9ac490639237119c09284fe2ac1199

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page