Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| p5js-photos-interactive [2024/03/12 00:32] – created renick | p5js-photos-interactive [2024/03/12 00:56] (current) – renick | ||
|---|---|---|---|
| Line 9: | Line 9: | ||
| </ | </ | ||
| - | ===== more complex | + | ===== simple |
| + | |||
| + | This version might be better because it's not redrawing the photos 60 times per second. | ||
| + | |||
| + | < | ||
| + | <iframe src=" | ||
| + | </ | ||
| + | |||
| + | ===== sampling a photo and mouse interaction ===== | ||
| This version just samples the photo randomly and places a sample in each cell of the grid; the photos change based on the mouse position. | This version just samples the photo randomly and places a sample in each cell of the grid; the photos change based on the mouse position. | ||
| Line 17: | Line 25: | ||
| </ | </ | ||
| - | ===== more complex example | + | ===== stochastic sampling |
| This version features stochastic sampling of the photo so that the eye is more frequently displayed; the mouse interaction is the same. | This version features stochastic sampling of the photo so that the eye is more frequently displayed; the mouse interaction is the same. | ||
| Line 25: | Line 33: | ||
| </ | </ | ||
| - | ===== even more complex example of photos | + | ===== multiple |
| This version uses multiple photographs, | This version uses multiple photographs, | ||