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
FilmArrayStudio::NewFilm ('About FilmArray', 'AlexMcArrow');
Creating a new project (film title, author) FilmArrayStudio::MakeMovie (24);
Storyboard creation (number of frames per unit of time) FilmArrayStudio::SaveProject ('about');
Saving project (json file name) FilmArrayStudio::SaveMovie ('about');
Creation of "assembly film" (html file name) FilmArrayStudio::SaveMovieBorder ('about');
Movie making (html file name)
FilmArrayFX
FilmArrayFX::NullScreen (5);
Creating an empty frame FilmArrayFX::CountDown (9, 1, TRUE);
Creating a “countdown” (starting number, number of frames per number, frame with “Picture Start”) FilmArrayFX::Title ('About "FilmArray"');
Saving the "header" (centered text, background characters, number of frames) FilmArrayFX::Titles (array ('Alex McArrow', '2012', ' ', ' ', 'FilmArrayStudio + FilmArrayFX'), 6, FilmArrayFX::FAFX_align_center);
Creating "titles" (array of strings, number of frames, centering / pressing right / pressing left)
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/autoscrollFireFox -
addons.mozilla.org/en/firefox/search/?q=autoscrollUPD3: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)