We've moved, ! Update your bookmarks to https://thesouthpacific.org! These forums are being archived.

Dismiss this notice
See LegComm's announcement to make sure you're still a legislator on the new forums!

Pronoun's Pointlessly Fancy Graphics
#1

[Image: fancy%20graphics%20header.min.svg]

Demos

Animated Flag
animated rotation
[Image: flag%20of%20esfalsa%20animated.svg]

Pulse Animation
combined animations: scale + opacity

[Image: pulse.min.svg]


Animated Gradient Text
animated fill

[Image: animated%20gradient%20text.svg]


Progress Bar
animated motion

[Image: progress%20bar.svg]


How it Works
img tags support .svg files as well, which is a format for vector graphics (meaning it stores lines and shapes rather than pixels). One of the nifty things about SVG files is that they can be animated in a variety of different ways.

Imgur (and most image hosts) don't support SVG hosting, so the demo images in this post are uploaded to GitHub. Other than that, the syntax is the same. For example, try out this one:
CodeResult
 
Code:
[img]https://upload.wikimedia.org/wikipedia/commons/b/be/Animated_SVG_clock_grey.svg[/img]
[Image: Animated_SVG_clock_grey.svg]

For the more technically inclined, you can find more information on how to add animation code to your SVGs here. Displaying SVGs with the <img> tag has 96.54% browser support, and the SVG animation features have 94.77% browser support, at the time of writing.
[Image: flag%20of%20esfalsa%20animated.svg] Esfalsa | NationStatesWiki | Roleplay | Discord

[Image: rank_officer.min.svg] [Image: updates_lifetime_2.min.svg] [Image: defenses_lifetime_4.min.svg] [Image: detags_lifetime_3.min.svg]
[-] The following 6 users Like Pronoun's post:
  • A bee, GI-Land, Moon, Purple Hyacinth, Qwert, Tin the Free
Reply
#2

I just have to say that that progress bar is so cute and cool at the same time!!
Reply




Users browsing this thread:
2 Guest(s)





Theme © iAndrew 2018 Forum software by © MyBB .