Trigons is a flexible JavaScript plugin that lets you create modern, stylish abstract SVG graphics with optional animation.
Trigons is built as a plugin for the d3.js library (d3js.org) and uses d3’s built-in Delaunay triangulation to create colorful, animated abstract images. No jQuery required.
It exposes seven methods to create and animate SVG graphics, export them to PNG (cross-browser), or use them as a CSS ‘background-image’ in your HTML.
Review the feature list below and visit the Trigons demo site for more detail.

Trigons is not a slider — it renders and animates abstract SVG graphics. You can place the output in any slider as plain HTML without Trigons’ own animation. To use the built-in animation effects inside a slider, you need a slider API that lets you call Trigons methods when slides change, or you must extend the slider’s JavaScript yourself.
On the demo site, the intro uses “jquery.superslides.js” with extra hooks to drive the animations you see.
Each web project requires its own Regular or Extended license for Trigons.
ver 1.4 -- Updated d3.js to the latest release (v7) -- Compatibility updates for d3.js v7 -- Added “3d” colorMode
ver 1.3.1 -- Fix for “gradient” colorMode calculation
ver 1.3 -- Updated d3.js to the latest release (5.9.7) -- Minor code updates per Envato JavaScript requirements
ver 1.2 -- Updated d3.js to the latest release (5.9.2) -- Code updates per Envato JavaScript requirements
ver 1.1 -- Updated d3.js to the latest release (5.5.0) -- Compatibility updates for the latest d3.js -- Updated Verge script to the latest release -- Fixed viewport shift when a Trigons graphic is taller than the browser window -- Renamed options “easyIn”/“easyOut” to “easeIn”/“easeOut” -- Recoded the script to modern standards
ver 1.0 - initial release