Here's a beautiful, yet completely useless, SVG app.
A rectangular area is triangulated, meaning it's overlaid with a grid of triangles. You can influence this process using a number of parameters, such as the number of columns and/or rows, the colors, the animation, and more.
You can probably only use this SVG app as a kind of animated background image for websites or emails. It's programmed in SVG and JavaScript and can be easily embedded in an HTML page. The generated triangular grid is responsive and automatically adjusts to changes in the size of the drawing area.
Some examples:
Using
You can embed this animation in an HTML page or view it directly in a browser. Since all the settings you've made above are written into an SVG file during the download, it's very easy to use.
<html>
<body>
<object data="triangles.svg" type="image/svg+xml">
</object>
</body>
</html>
Please note that the animation is embedded using an object tag in HTML. The obvious image tag won't work because JavaScript execution is blocked there for security reasons.
You can also define the properties of the animated triangles directly in HTML using parameters in the object tag. However, for this method, the corresponding web page must be hosted on a server. The five examples at the top of this page are built this way.
Those familiar with the JavaScript programming language can also change the properties of the triangles directly in the SVG source code. First, the file triangles.svg must be loaded and then opened in a text editor. At the top of the SVG source code, you will find the JavaScript object options, which you can copy to the clipboard with your previously made settings and paste, or you can change the corresponding values manually.
Download
Please note that the SVG “triangles.svg” will be generated on the server and initialized with the parameters set above.
This software is licensed under the GNU General Public License (GPL), which includes the right to run, study, modify, and distribute the software.