izzi
SVG SUBSET C++ API
Loading...
Searching...
No Matches
a60-svg-sequences.h File Reference
#include <fstream>
#include <random>
#include <unistd.h>
#include "a60-svg.h"
+ Include dependency graph for a60-svg-sequences.h:

Go to the source code of this file.

Namespaces

namespace  svg
 

Functions

strings svg::blink_to_color_seq (const rect_element::data &dr, const color klr, size_t fps, double sec, double twhen, size_t nblinks, double blinksec)
 blink sequence of duration sec, given fps starts on background (backgf) at duration twhen blinks specific frame (blinkf) times (nblinks) for seconds (blinksec) can use with image behind
 
string svg::dot_grid_seq (const rect_element::data &drin, const color klr, const rect_element::atype radius=80, const int maxwidth=8, const int maxheight=4, const rect_element::atype xstart=40, const rect_element::atype ystart=100)
 Randomly create grid of [maxwidth] x [maxheight] grid, and fill with dots.
 
strings svg::fade_from_color_seq (const rect_element::data &dr, const color klr, size_t fps=30, double sec=1.0, double minopac=0)
 Start rectangle as transparent, fade to color.
 
strings svg::fade_to_color_seq (const rect_element::data &dr, const color klr, size_t fps=30, double sec=1.0, double maxopac=1.0)
 
strings svg::optical_sound_dots_seq (const rect_element::data &drin, const color klr, size_t fps=30, double sec=1.0, const int radius=80, const int maxw=8, const int maxh=4, const int xstart=40, const int ystart=100)
 
strings svg::swipe_left_seq (const rect_element::data &drin, const string imgf, const color klr=color::white, size_t fps=30, double sec=9)
 1 channel start with image, background color is klr each "frame" == string in returned strings has an image and a background
 
strings svg::vertical_sync_roll_seq (const rect_element::data &drin, const color klr, size_t, double step=10, int blursz=200, int solidsz=133, double opac=0.6)
 Simulated vertical roll, with fades. r == frame size.
 
strings svg::wink_to_color_seq (const rect_element::data &dr, const color klr, size_t fps, double sec, double twhen, double maxclose, double winksec)
 wink sequence of duration sec, given fps to color klr starts on background transparent, so can use with an image behind. at duration twhen winks specific rectangle (r) this much (maxclose) for seconds (winksec)