Trigons is a flexible JS script which lets you create modern and stylish abstract SVG images with optional animations
Trigons script is coded as plugin for d3.js library (d3js.org) and it uses d3’s build-in method of Delaunay triangulation for creating colored and animated abstract images. No jQuery needed.
Script includes seven (7) methods for creating and animating SVG images and also for cross browser converting these images to PNG ones or use them as ‘background-image’ for elements in your HTML documents.
Please get familiar with the features and explore Trigons demo site for more info.
- The exclusive feature of Trigons images, that they can be animated with 30 built-in effects.
- Created Trigons SVG images can be responsive.
- Retina perfect
- Flexible and powerful settings
- Works in all modern browsers
- Any color, any size
- Clean bright or flat colors or gradients
- Build-in Color Palette Generator
- Convert to PNG
- Use it as “background-image”
- Click, Hover and “Viewport” events
- Separate “In” and “Out” Animations
- “Force” Animation Methods
- Free Support and Updates
- d3.js lib v5 and up (jQuery not needed)
- Canvg.js if you want to convert to PNG
- Reading the documentation
Trigons script is not a slider, it creates and animates abstract SVG images. You can use these images in sliders without their special animations as usual like any other HTML content. But for using build-in animation effects, your slider must have an API which lets you call Trigons methods when your slides are changed. Or you need to change JS code of your slider by yourself to be able to use the Trigons animations methods.
For example, on the demo site in the intro section at the top of the page there is “jquery.superslides.js” with extended functionality to produce the animations you can see.
You need to purchase a regular or an extended license of Trigons script for every web project.
- Mike Bostock the author of the outstanding d3.js lib
- Gabe Lerner the author of Canvg – SVG parser and renderer script
2018, July, 13 - v1.1 -- updated d3.js library with the latest version (5.5.0) -- made the script compatible with the latest version of d3.js -- updated verge script with the latest version -- fixed issue of viewport shift when a Trigons image is higher than a browser's window -- changed options names "easyIn" to "easeIn" and "easyOut"to "easeOut" -- recoded the script according to modern standards
2014, June, 12 - v1.0 - initial release