Created
August 20, 2019 11:25
-
-
Save ydaniv/8dc838165ae4cff4614fa0f16d7c1870 to your computer and use it in GitHub Desktop.
Introducing Kampos Examples :: ticker simple
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
import {Kampos, effects, Ticker} from 'kampos'; | |
const ticker = new Ticker(); | |
const kampos = new Kampos({target, effects: [effects.hueSaturation()], ticker}); | |
const kampos2 = new Kampos({target2, effects: [effects.hueSaturation()], ticker}); | |
// rest of drawing logic ... | |
ticker.start(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment