Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
yiler-huang-hydra-presentations [2022/12/25 18:17] – yiler.huang | yiler-huang-hydra-presentations [2023/01/29 21:01] (current) – yiler.huang | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Hydra Presentations ===== | + | ====== Hydra Presentations |
By [[yiler-huang| Yiler Huang]] | By [[yiler-huang| Yiler Huang]] | ||
+ | |||
+ | We had 5 Hydra presentations this semester (6 if including the one we showed to the public), they are: | ||
+ | - modulatePixelate | ||
+ | - P5 class | ||
+ | - a.fft[] | ||
+ | - initCam | ||
+ | - modulateKaleid | ||
+ | |||
+ | The ones below are my favorite ones. | ||
==== modulateKaleid ==== | ==== modulateKaleid ==== | ||
- | ==== Simple | + | === Simple === |
https:// | https:// | ||
Line 43: | Line 52: | ||
</ | </ | ||
- | === Explanations | + | === Explanation |
initCam is a function that activates your web cam and put the things it captured into the Hydra editor. In order to show what you camera captured, you need to use the src() function to source the camera resource. | initCam is a function that activates your web cam and put the things it captured into the Hydra editor. In order to show what you camera captured, you need to use the src() function to source the camera resource. | ||
If you want it to work on Dokuwiki, you need to add **allow=" | If you want it to work on Dokuwiki, you need to add **allow=" | ||
+ | |||
+ | === a.fft[](audio) === | ||
+ | |||
+ | === Simple === | ||
+ | https:// | ||
+ | |||
+ | < | ||
+ | <iframe src = " | ||
+ | </ | ||
+ | |||
+ | === Complex === | ||
+ | https:// | ||
+ | |||
+ | < | ||
+ | <iframe src = " | ||
+ | </ | ||
+ | |||
+ | === Explanation === | ||
+ | |||
+ | here is the API of Hydra | ||
+ | |||
+ | < | ||
+ | <iframe src = " | ||
+ | </ | ||
+ | |||
+ | () => a.fft[< | ||
+ | |||
+ | setScale() sets the scale of a.fft, the smaller the number is the bigger the output will be. | ||
+ | |||
+ | modulatePixelate() applies the texture you want onto a pixelate effect, so you can create pixelate effects that doesn' | ||
+ | |||
+ | |||