MCPcopy Index your code
hub / github.com/coldtype/coldtype

github.com/coldtype/coldtype @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
3,390 symbols 16,920 edges 401 files 267 documented · 8%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

MIDI

Todo

Global hotkeys

Uses pynput, but on Mac permissions are a pain now: helpful instructions

Mouse-passthrough on glfw

Actually specifying it might not be necessary? Seems to work on my machine

brew install glfw --HEAD
PYGLFW_LIBRARY=/usr/local/Cellar/glfw/HEAD-0b9e48f/lib/libglfw.3.4.dylib

GCP

PyTorch images seem to work nicely (c2-deeplearning-pytorch-1-8-cu110-v20210512-debian-10), not sure this is a real link: https://console.cloud.google.com/compute/imagesDetail/projects/ml-images/global/images/c2-deeplearning-pytorch-1-8-cu110-v20210512-debian-10?folder=&organizationId=&project=uplifted-sol-90414 https://console.cloud.google.com/compute/imagesDetail/projects/ml-images/global/images/c2-deeplearning-pytorch-1-8-cu110-v20210512-debian-10

SSH w/ cloud console, then:

  • sudo apt install libgl1-mesa-glx # https://github.com/conda-forge/pygridgen-feedstock/issues/10
  • git clone https://github.com/goodhertz/coldtype
  • cd coldtype
  • pip install -e .
  • coldtype examples/animations/house.py -a -mp -cpu -ns # -tc 32 (if it’s a big 32-instance)

Second Monitor

coldtype examples/simplest.py -mn list should print out names of monitors, then you match then (can be a substring) like this: coldtype examples/simplest.py -mn SAM -wcs 1.0 -wp C

Installing with extras directly from git

pip install git+https://github.com/goodhertz/coldtype#egg=coldtype[viewer,experimental]

Core symbols most depended-on inside this repo

append
called by 547
packages/coldtype-core/src/coldtype/runon/path.py
align
called by 433
packages/coldtype-core/src/coldtype/runon/path.py
f
called by 405
packages/coldtype-core/src/coldtype/runon/path.py
get
called by 349
packages/coldtype-core/src/coldtype/runon/runon.py
StSt
called by 330
packages/coldtype-core/src/coldtype/text/composer.py
hsl
called by 283
packages/coldtype-core/src/coldtype/color/__init__.py
ambit
called by 251
packages/coldtype-core/src/coldtype/runon/path.py
e
called by 244
packages/coldtype-core/src/coldtype/timing/timeable.py

Shape

Method 2,019
Function 1,154
Class 214
Route 3

Languages

Python91%
TypeScript9%

Modules by API surface

packages/coldtype-core/src/coldtype/runon/path.py220 symbols
examples/sites/coldtype.p5js/assets/p5.min.js166 symbols
packages/coldtype-core/src/coldtype/blender/fluent.py131 symbols
packages/coldtype-core/src/coldtype/geometry/rect.py124 symbols
examples/sites/coldtype.p5js/assets/p5.sound.min.js119 symbols
packages/coldtype-core/src/coldtype/runon/runon.py107 symbols
packages/coldtype-core/src/coldtype/fx/skia.py64 symbols
packages/coldtype-core/src/coldtype/renderable/renderable.py62 symbols
packages/coldtype-core/src/coldtype/timing/sequence.py56 symbols
packages/coldtype-core/src/coldtype/color/__init__.py56 symbols
packages/coldtype-core/src/coldtype/renderer/__init__.py55 symbols
packages/coldtype-core/src/coldtype/text/reader.py51 symbols

For agents

$ claude mcp add coldtype \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact