pixi-effects

Interactive movies

A movie you can change while it plays

Declare a few variables, read them from the film, and change them from the page: a language, a colour, a slider, the pointer, a roll of the dice. The film is built again at the same frame and the sound is kept when it did not change. It is still a movie: the same file renders to MP4 with the values you choose (pixi-effects render film.html --var lang=ja). Three samples are about the pointer on the picture itself: the page asks the film what is under it (movie.pick, movie.hover) to click, drag and drop.

How it works: the API. Run these pages from a local copy with a static server; they load ../../dist (npm run build first).