esch (v.) : to turn matricies into high quality svg (animations)
Project description
esch
Create beautiful presentations and visualizations inspired by Escher.
Components
- Typst presentation template
- CLI tool for generating presentations from Typst files
- 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
- Clone the repo
- Install dependencies:
npm install
andpoetry install
License
MIT
For detailed documentation, visit our docs.
Project details
Release history Release notifications | RSS feed
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.5.0.tar.gz
(8.1 kB
view details)
Built Distribution
esch-0.5.0-py3-none-any.whl
(9.0 kB
view details)
File details
Details for the file esch-0.5.0.tar.gz
.
File metadata
- Download URL: esch-0.5.0.tar.gz
- Upload date:
- Size: 8.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.12.7 Darwin/24.1.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5fc694e84b55770ef9fc94e14bd2de2c1aba65fcdddf94255b92e3dfea499139 |
|
MD5 | d9cdb2e67bc9136fa45051a277696180 |
|
BLAKE2b-256 | a2b9e11cc846749c222497254bf1a76d745a8cd77d94eb1c42910e3bb0eaea61 |
File details
Details for the file esch-0.5.0-py3-none-any.whl
.
File metadata
- Download URL: esch-0.5.0-py3-none-any.whl
- Upload date:
- Size: 9.0 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | be9e281c90fbbdc3fe14486945a2b9f3d5127e2c6b9dc783e0de2c6f8cf7247e |
|
MD5 | fd6b660ef3fa8517729df1d7a78d0a88 |
|
BLAKE2b-256 | 6f12375d6b500d2fa77be5db344004a04c1d4f06b9ea94ef4a4681e47ec2adf2 |