Trigons - Create and Animate Abstract SVG Images

Description

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.
Main features:
- A signature feature of Trigons is that graphics can be animated with 30 built-in effects.
- Trigons SVG output can be responsive.
- Sharp on Retina and high-DPI displays
- Flexible, powerful settings
- Works in all modern browsers
- Any colors, any size
- Solid, bright, or flat colors, or gradients
- Built-in color palette generator
- Export to PNG
- Use as a CSS “background-image”
- Dynamically add, update, animate, and convert via seven JavaScript methods
- Click, hover, and “viewport” events
- Separate “In” and “Out” animations
- “Force” animation methods
- JavaScript and/or HTML5 data attributes
- Free support and updates
Requirements:
- d3.js v7 or newer
- Canvg.js (and dependencies) if you need PNG export
- Reading the documentation
Important note:
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.
License:
Each web project requires its own Regular or Extended license for Trigons.
Change log:
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
| Type | JavaScript Script |
|---|---|
| Author | DeeThemes |
| Category | Javascript / Animated Svgs |
| Price | $29 |
| Sales | 146 |
| Rating | 4.17 from 6 ratings |
| Published | Jun 12, 2014 |
| Last Update | Apr 6, 2026 |
| Compatible Browsers | Firefox, Safari, Opera, Chrome, Edge |
| Compatible Software | Other |
| Source Files Included | JavaScript JS, HTML, CSS |
Categories
Tags
External listing. code.market does not sell this product and does not process payment for it. Pricing, payment, delivery, licensing, refunds, and support are handled by the third-party merchant on its own website. We may earn an affiliate commission from a referral. Details.
Products of the Week.
Submit🥇
STOP GUESSING WHAT TO POST
AI that learns your brand voice and builds a month of consistent, on-brand social content: carousels, posts and hooks that sound like you, not like everyone else's AI.
SaaS · 4,270 views · 38 clicksSaaS · Week 45 · 4,270 views · 38 clicks
🥈
Conversational Backlinks for Busy Founders
Place Backlink Relevant Conversation for your domain across Forums and Conversations
Website · 41,976 views · 223 clicksWebsite · Week 45 · 41,976 views · 223 clicks
🥉
upvote.club
Free Social Media Engagement that Helps Boost Your Content. Upvote Club supports 19 social networks with 100+ engagement actions in one dashboard. Add links to your posts and get free engagement from real users.
SaaS · 40,017 views · 115 clicksSaaS · Week 45 · 40,017 views · 115 clicks
#4
Substack Posting API
Onboard your Agent to Substack. Write Publish on Substack via API
SaaS · 59,028 views · 198 clicksSaaS · Week 45 · 59,028 views · 198 clicks
#5
Seenshot App
Free, Fast, MacOS Screenshot app. Make Screenshot cmd+shift+2 and send it via link
Desktop App · 28,397 views · 122 clicksDesktop App · Week 45 · 28,397 views · 122 clicks
#6
Hand-Placed Backlinks $9.99 per link. Flat rate.
Buy hand-placed forum, Q-A and directory backlinks. Flat $9.99 per link, no subscriptions — you only pay for approved listings.
Website · 4,238 views · 19 clicksWebsite · Week 45 · 4,238 views · 19 clicks
#7
Free Invoice Generator - PDF Invoices in Your Browser, No Sign-Up
A free invoice maker for freelancers and small businesses: fill in the invoice, check the live preview, and download a PDF that looks exactly like it. Any currency, tax per item, three templates, no sign-up, and nothing leaves your device.
2,918 views · 17 clicksWeek 45 · 2,918 views · 17 clicks
#8
Merge PDF Files Free - Combine PDFs in Your Browser, No Upload
A free PDF merger for office workers, students, and freelancers: combine PDFs and images into one file in the browser, reorder files and pages, pick page ranges, keep bookmarks, and open password-protected PDFs. Nothing is uploaded, no sign-up, no watermark.
2,694 views · 13 clicksWeek 45 · 2,694 views · 13 clicks


