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.2.5.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

esch-0.2.5-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: esch-0.2.5.tar.gz
  • Upload date:
  • Size: 5.5 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.2.5.tar.gz
Algorithm Hash digest
SHA256 dbd7abb564f216209a0d07e230f6bf4473563694407d223fe299999916acacd0
MD5 9d6750fe41d8a6051e49fcdbf3e97915
BLAKE2b-256 91adcd5cc17f2daaa3f18f2bc33c50301e768748e93ed269b5c0b7afcc825800

See more details on using hashes here.

File details

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

File metadata

  • Download URL: esch-0.2.5-py3-none-any.whl
  • Upload date:
  • Size: 6.6 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.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 d108d0212205b74b269163177bc5bcdb59cb710be8e460269121848f2a1896be
MD5 25ebe81644cfeefddd009fb4824fda76
BLAKE2b-256 75dc19d95a118db81b21138972629916291c7c3e52db805931bf4bf85df38041

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