ct-zen

3.4.5 • Public • Published

Zen.js

A non-verbose / terse language for algorithmic composition. Users define geometric forms by evaluating expressions for x/y coordinates, events and mutations. Zen expressions result in complex geometry which results in complex musical patterns, with the potential for causal relationships, or interference between patterns.

Full documentation can be found at https://zen-docs.cephasteom.co.uk/.

Write Zen at https://zen.cephasteom.co.uk/.

This package can also be used in your own projects. Better documentation to follow, but...

Docs

Quick start

In your template, you can use the in-built visualiser by rendering this on the page:

<body>
    <div>
        <svg class="canvas" viewBox="0 0 768 768"></svg>
    </div>
</body>

Or you can offload the visuals to an iframe - with significant performance improvements:

<body>
    <div>
        <iframe src="https://zen-visuals.cephasteom.co.uk">
    </div>
</body>
import { zen } from 'ct-zen'

zen.execute('...your code here...')

Not yet ready for public consumption!

Readme

Keywords

Package Sidebar

Install

npm i ct-zen

Weekly Downloads

6

Version

3.4.5

License

MIT

Unpacked Size

4.74 MB

Total Files

85

Last publish

Collaborators

  • cephasteom