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

Uploaded Source

Built Distribution

esch-0.2.4-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for esch-0.2.4.tar.gz
Algorithm Hash digest
SHA256 76b9c9245822935c5628d76ed046094629c5bfb7f118c8224b0dedc71a4b5795
MD5 b5a2d548522d5f04ef5a06998c77be8d
BLAKE2b-256 8836102c8e340eb7f19acac512de0f7bd8e73d4aabef2d4c4041821fefe743df

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for esch-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 c6ab0993b0d5e74422df42001baa3308e27de7fead030125541b4c712c916b1b
MD5 ffdbc63205d1614f3d14ad78b11350d8
BLAKE2b-256 f49e72483ae5d857f81ff5e501c656388f2d623c3485f68fe767ebda14171cfe

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