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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: esch-0.4.9.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.9.tar.gz
Algorithm Hash digest
SHA256 026cb385788f0470f8adbace04b0342169d82ca6750a47720bb5e9993160b824
MD5 8960e0e9ddde784309b50ee86420511c
BLAKE2b-256 eefc4eea20027bdd3d84c1c4a6435f8815577f9e6e8fc5328355be346ba3c46e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: esch-0.4.9-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.9-py3-none-any.whl
Algorithm Hash digest
SHA256 f93830e8ccb88879174a7d96773990e634d8c7c5be14558a823d0dbfefee4f5f
MD5 49a2add89f7c934e69c7903932dd0180
BLAKE2b-256 09c6ab6e79c071bd83b1554230ab5006b8589f49a39ee86d1d078e51e75c8582

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