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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: esch-0.4.8.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.12.7 Darwin/24.1.0

File hashes

Hashes for esch-0.4.8.tar.gz
Algorithm Hash digest
SHA256 2bfe92270b2a6039a5e5a5112676b673b8e142ee2cbb3251faed668591208698
MD5 de654f72cac16f29fdf2f8a68a71f8f2
BLAKE2b-256 c11a59638860996472b8d08cc320966c22584c4719fb150c91015009625f87ad

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for esch-0.4.8-py3-none-any.whl
Algorithm Hash digest
SHA256 cf0d28bcac99c7f79867599ce8b13ef2f69432b33c71b13f829255d155cdbf06
MD5 da84481c59ca7deeb8cb111c6ca49cc0
BLAKE2b-256 7165797fb5768e4d8b073ae54df545bcda66a6b462206e3c4027477a66a8894f

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