build
This commit is contained in:
parent
aec5b3bb2b
commit
3c56f24eed
7 changed files with 681 additions and 2169 deletions
4
docs/dist/parse.js
vendored
4
docs/dist/parse.js
vendored
|
|
@ -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()}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue