textmode.synth.js 1.0.0 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. package/README.md +1 -6
  2. package/dist/textmode.synth.esm.js +607 -514
  3. package/dist/textmode.synth.umd.js +88 -80
  4. package/dist/types/api/sources.d.ts +88 -55
  5. package/dist/types/api/sources.d.ts.map +1 -1
  6. package/dist/types/augmentations/textmode.d.ts +3 -1
  7. package/dist/types/augmentations/textmode.d.ts.map +1 -1
  8. package/dist/types/bootstrap.d.ts.map +1 -1
  9. package/dist/types/compiler/ExternalLayerManager.d.ts.map +1 -1
  10. package/dist/types/compiler/FeedbackTracker.d.ts +1 -3
  11. package/dist/types/compiler/FeedbackTracker.d.ts.map +1 -1
  12. package/dist/types/compiler/GLSLGenerator.d.ts.map +1 -1
  13. package/dist/types/compiler/SynthCompiler.d.ts.map +1 -1
  14. package/dist/types/compiler/TransformCodeGenerator.d.ts.map +1 -1
  15. package/dist/types/compiler/UniformManager.d.ts +4 -0
  16. package/dist/types/compiler/UniformManager.d.ts.map +1 -1
  17. package/dist/types/compiler/channels.d.ts +20 -0
  18. package/dist/types/compiler/channels.d.ts.map +1 -0
  19. package/dist/types/compiler/types.d.ts +14 -9
  20. package/dist/types/compiler/types.d.ts.map +1 -1
  21. package/dist/types/core/ISynthSource.d.ts +231 -21
  22. package/dist/types/core/ISynthSource.d.ts.map +1 -1
  23. package/dist/types/core/SynthSource.d.ts +8 -8
  24. package/dist/types/core/SynthSource.d.ts.map +1 -1
  25. package/dist/types/core/constants.d.ts +13 -0
  26. package/dist/types/core/constants.d.ts.map +1 -0
  27. package/dist/types/core/types.d.ts +44 -1
  28. package/dist/types/core/types.d.ts.map +1 -1
  29. package/dist/types/extensions/textmodelayer.d.ts.map +1 -1
  30. package/dist/types/extensions/textmodifier.d.ts +2 -1
  31. package/dist/types/extensions/textmodifier.d.ts.map +1 -1
  32. package/dist/types/lifecycle/ShaderManager.d.ts +53 -0
  33. package/dist/types/lifecycle/ShaderManager.d.ts.map +1 -0
  34. package/dist/types/lifecycle/index.d.ts +1 -0
  35. package/dist/types/lifecycle/index.d.ts.map +1 -1
  36. package/dist/types/lifecycle/synthDispose.d.ts.map +1 -1
  37. package/dist/types/lifecycle/synthRender.d.ts +2 -1
  38. package/dist/types/lifecycle/synthRender.d.ts.map +1 -1
  39. package/dist/types/plugin/SynthPlugin.d.ts.map +1 -1
  40. package/dist/types/transforms/TransformFactory.d.ts +10 -12
  41. package/dist/types/transforms/TransformFactory.d.ts.map +1 -1
  42. package/dist/types/transforms/categories/colors.d.ts.map +1 -1
  43. package/dist/types/transforms/categories/combineCoord.d.ts.map +1 -1
  44. package/dist/types/transforms/categories/coordinates.d.ts.map +1 -1
  45. package/dist/types/transforms/categories/index.d.ts +1 -1
  46. package/dist/types/transforms/categories/index.d.ts.map +1 -1
  47. package/dist/types/transforms/categories/sources.d.ts.map +1 -1
  48. package/dist/types/utils/ArrayUtils.d.ts.map +1 -1
  49. package/dist/types/utils/CharacterResolver.d.ts +2 -1
  50. package/dist/types/utils/CharacterResolver.d.ts.map +1 -1
  51. package/dist/types/utils/SafeEvaluator.d.ts +1 -15
  52. package/dist/types/utils/SafeEvaluator.d.ts.map +1 -1
  53. package/dist/types/utils/index.d.ts +1 -1
  54. package/dist/types/utils/index.d.ts.map +1 -1
  55. package/package.json +55 -5
package/README.md CHANGED
@@ -4,11 +4,6 @@
4
4
 
5
5
  Create procedural ASCII/text animations with a `hydra`-inspired, chainable visual synthesis system.
6
6
 
7
- > [!NOTE]
8
- > This project is work-in-progress and not yet ready for production use.
9
- >
10
- > `textmode.synth.js` becomes usable once `textmode.js` v0.8.5 is released.
11
-
12
7
  ## Features
13
8
 
14
9
  - 🎨 **Procedural generation** - Oscillators, noise, voronoi, and more
@@ -71,7 +66,7 @@ t.windowResized(() => {
71
66
 
72
67
  | Function | Purpose |
73
68
  |----------|---------|
74
- | `char(source, charCount?)` | Character generation |
69
+ | `char(source)` | Character generation |
75
70
  | `charColor(source)` | Foreground color |
76
71
  | `cellColor(source)` | Background color |
77
72
  | `paint(source)` | Both foreground & background |