diff options
author | Yaroslav <contact@yaroslavps.com> | 2019-01-31 15:41:02 +0300 |
---|---|---|
committer | Yaroslav <contact@yaroslavps.com> | 2019-01-31 15:41:02 +0300 |
commit | 0623f7b1d94be0513778ae70e7c574a67f743c17 (patch) | |
tree | 81709db2370cd6905b9731218407f5b2750e3c2b /dvd/README.md | |
parent | 2da5cc0a05ad6f634cf23565d6adee6edc67af6e (diff) | |
download | canvas-antics-0623f7b1d94be0513778ae70e7c574a67f743c17.tar.gz canvas-antics-0623f7b1d94be0513778ae70e7c574a67f743c17.zip |
dvd readme, change ever demo html to index.html
Diffstat (limited to 'dvd/README.md')
-rw-r--r-- | dvd/README.md | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/dvd/README.md b/dvd/README.md new file mode 100644 index 0000000..ee80d70 --- /dev/null +++ b/dvd/README.md @@ -0,0 +1,18 @@ +# DVD Screensaver # + +Just like the good old days, when you paused that DVD movie for a long time, except now you can watch that sweet old screensaver on demand at any time. + +To start the animation, just call the following function. You can omit passing the options object for the default experience. For it to work, you need to have a canvas object in your HTML document with id #dvd. + +```javascript +playDVD({ + 'speed': 200, + 'colors': [ + "#012fff", + "#ff2190", + "#ce21ff", + "#ffec00", + "#ff8702" + ] +}); +``` |