Processing3 sketch to create a banner graphic such as
Under the SETTINGS
comment you can fiddle with the background color, flag dimensions, and fade/border settings.
Under the FLAG SETUP
comment you can add or remove flags. There are several already defined (listed as options).
As everything calculated is an int, it will work smoother if your flag height is a common multiple of the number of stripes each flag you use has. You can additionally add your own flags following the method used to define the pre-existing ones. The stripe()
class takes a color (hex code or Processing color type) and a y-axis offset from the top of the flag.
To change the dimensions from standard Twitter heading size, change this line that sets the size.