forked from eordano/warrolight
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tweaks programas. Fix bug con soundbased y multi
- Loading branch information
Showing
5 changed files
with
52 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// import {Func} from "./rainbow"; | ||
const _ = require('lodash') | ||
import {createMultiProgram} from "./MultiPrograms"; | ||
import {programsByShape} from "./Transformations"; | ||
|
||
const Rainbow = require("./rainbow").Func; | ||
const MusicFlow = require("./musicFlow").Func; | ||
const Stars = require("./stars").Func; | ||
|
||
// las formas que se pueden usar están definidas en Transformation | ||
const schedule = [ | ||
// {duration: 3000, program: programsByShape({char_w: Rainbow})}, | ||
{duration: 3000, program: programsByShape({char_a: [Stars, Stars.presets().muchasFast]})}, | ||
{duration: 3000, program: programsByShape({char_r: Rainbow})}, | ||
{duration: 3000, program: programsByShape({char_r: [Stars, Stars.presets().muchasFast]})}, | ||
{duration: 3000, program: programsByShape({char_o: Rainbow})}, | ||
] | ||
|
||
export const Func = createMultiProgram(schedule) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters