Random SVG star

Random SVG star

Here is small application that morphs between star shapes.

The VCL project looks like this: The form color is set to “black” and it contains an TSVG2Image aligned “alClient” and a TTimer.

Also, the “DoubleBuffered” property of the form is set to “True”, otherwise we’ll end up with a lot of unwanted flicker.

RandomStar1

Then the following code in the unit:

Sources can be found on github. To compile the examples, you need the demo or the full version of the SVG control package.

1 thought on “Random SVG star”

Leave a Comment