From 0df67fa9201bf635e4464cacb9f8f119ab630bdf Mon Sep 17 00:00:00 2001 From: alex Date: Wed, 13 Apr 2022 16:04:57 +0100 Subject: [PATCH] patternify zoom --- packages/core/strudel.mjs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/core/strudel.mjs b/packages/core/strudel.mjs index cd9c3b25..5420e804 100644 --- a/packages/core/strudel.mjs +++ b/packages/core/strudel.mjs @@ -1197,6 +1197,10 @@ Pattern.prototype.chunkBack = function (...args) { args = args.map(reify); return patternify2(Pattern.prototype._chunkBack)(...args, this); }; +Pattern.prototype.zoom = function (...args) { + args = args.map(reify); + return patternify2(Pattern.prototype._zoom)(...args, this); +} // call this after all Patter.prototype.define calls have been executed! (right before evaluate) Pattern.prototype.bootstrap = function () {