mirror of
https://codeberg.org/uzu/strudel
synced 2026-09-07 07:21:39 -04:00
build
This commit is contained in:
Vendored
+2
-2
@@ -10,7 +10,7 @@ const applyOptions = (parent) => (pat, i) => {
|
||||
if (operator) {
|
||||
switch (operator.type_) {
|
||||
case "stretch":
|
||||
const speed = new Fraction(operator.arguments_.amount).inverse();
|
||||
const speed = Fraction(operator.arguments_.amount).inverse();
|
||||
return reify(pat).fast(speed);
|
||||
case "bjorklund":
|
||||
return pat.euclid(operator.arguments_.pulse, operator.arguments_.step, operator.arguments_.rotation);
|
||||
@@ -46,7 +46,7 @@ function resolveReplications(ast) {
|
||||
options_: {
|
||||
operator: {
|
||||
type_: "stretch",
|
||||
arguments_: {amount: new Fraction(replicate).inverse().toString()}
|
||||
arguments_: {amount: Fraction(replicate).inverse().toString()}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user