forgot commas
This commit is contained in:
parent
b4b14c6c08
commit
5ae12454eb
1 changed files with 2 additions and 2 deletions
|
@ -40,8 +40,8 @@ export function set_pattern(pat) {
|
||||||
let functions = {
|
let functions = {
|
||||||
random: (index, args, prev) => { return Math.floor(Math.random() * 256) },
|
random: (index, args, prev) => { return Math.floor(Math.random() * 256) },
|
||||||
constant: (index, args, prev) => { return args; },
|
constant: (index, args, prev) => { return args; },
|
||||||
modulo: (index, args, prev) => { return prev % args; }
|
modulo: (index, args, prev) => { return prev % args; },
|
||||||
move: (index, args, prev) => { targets[args] = prev; return prev; }
|
move: (index, args, prev) => { targets[args] = prev; return prev; },
|
||||||
swap: (index, args, prev) => { let temp = targets[args]; targets[args] = prev; return temp; }
|
swap: (index, args, prev) => { let temp = targets[args]; targets[args] = prev; return temp; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue