Skip to content

Instantly share code, notes, and snippets.

View bmcfetty's full-sized avatar

Benjamin McFetridge bmcfetty

  • Wellington, New Zealand
View GitHub Profile
@martinlaxenaire
martinlaxenaire / TextTexture.js
Last active May 14, 2024 08:48
A class to create multiline text textures easily with curtains.js
/***
Helper class to create text textures easily with curtains.js
Supports:
- vertical and horizontal text alignements
- lowercase and uppercase
- filled or stroked text
Does not support:
- right to left text (TODO)
- custom letter spacing