asd
This commit is contained in:
parent
0a30639e37
commit
8f6adec59e
1 changed files with 1 additions and 3 deletions
|
@ -37,7 +37,7 @@ export function set_pattern(pat) {
|
||||||
pattern = pat;
|
pattern = pat;
|
||||||
}
|
}
|
||||||
|
|
||||||
let functions = {
|
export const 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; },
|
||||||
|
@ -47,8 +47,6 @@ let functions = {
|
||||||
subtract: (index, args, prev) => { return prev - args; }
|
subtract: (index, args, prev) => { return prev - args; }
|
||||||
}
|
}
|
||||||
|
|
||||||
export const functions;
|
|
||||||
|
|
||||||
function tick_pattern() {
|
function tick_pattern() {
|
||||||
// do the parsing stuff here
|
// do the parsing stuff here
|
||||||
log.debug("TICKING PATTERN")
|
log.debug("TICKING PATTERN")
|
||||||
|
|
Loading…
Reference in a new issue