📜 ⬆️ ⬇️

What do we need to build a movie?

Preamble


In the process of work, I analyzed the log, which was the print_r array (a very large array).
Spin the roller, fingers are tired. I decided to use the "accelerated" scrolling ... and ...

Cinema


Since the array was multidimensional and its second level had a static number of elements, I saw the “cinema”.
These were the flashing values ​​of the array, which were added to frames. Small scrolling speed adjustments, and frames locked.

FilmArrayStudio + FilmArrayFX


To create each element of the array manually is evil, so I decided, and undertook to write a class that would do it for me.
No sooner said than done. the first 4 hours gave the basis, the next 2 days brought to the state - "not ashamed to show people"
')
And what actually have to show:
GitHub project
github.com/AlexMcArrow/FilmArray - "project" page

Films
"About the project"
tetragon.narod.ru/about.fa - film project
tetragon.narod.ru/about.html - "mounting film"
tetragon.narod.ru/about.b.html - finished film
"The Birth of Bit"
tetragon.narod.ru/bitborn.fa - film project
tetragon.narod.ru/bitborn.html - "The Birth of a Beat" (mounting film)
tetragon.narod.ru/bitborn.b.html - "The Birth of a Beat" finished film

In order to “watch the movie”, it is necessary to use “accelerated” scrolling, and adjusting the scrolling speed to achieve stillness of frames.

What we can


The following methods are currently implemented:
FilmArrayStudio


FilmArrayFX





Please do not rate the code, style, architecture, etc. - JustForFun !!!

UPD:
The problem of speed selection is directly related to the expansion and size of the screen. Change the size of the displayed part - CTRL + movie
UPD2:
Valorous users of * nix-like systems will have to use crutches for scrolling:
Chrome - chrome.google.com/webstore/search/autoscroll
FireFox - addons.mozilla.org/en/firefox/search/?q=autoscroll
UPD3:
Added links to the film “The Birth of a Beat” - this is the first film shot using this technology !!! (rarity). And added project files for movies (Creative Commons)

Source: https://habr.com/ru/post/143621/


All Articles