Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 5a42b33508
Fetching contributors…

Cannot retrieve contributors at this time

43 lines (39 sloc) 1.166 kb
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="1280" height="720" viewBox="0 0 1280 720"
xmlns="http://www.w3.org/2000/svg" version="1.1">
<desc>tweeeeeen</desc>
<!-- filter -->
<defs>
<filter id="blur">
<feGaussianBlur in="SourceGraphic" stdDeviation="<%= rand(10) + 1 %>"/>
</filter>
</defs>
<!-- background -->
<rect x="0"
y="0"
width="1280"
height="720"
fill="black"/>
<!-- animation -->
<g filter="url(#blur)">
<% @circles.each do |circle| %>
<circle cx="<%= circle.x %>"
cy="<%= circle.y %>"
r="<%= circle.radius %>"
fill="black"
stroke="black"
stroke-width="10" />
<% next unless circle.connections %>
<% circle.connections.each do |connection| %>
<line x1="<%= circle.x %>"
y1="<%= circle.y %>"
x2="<%= connection.x %>"
y2="<%= connection.y %>"
stroke="blue"
stroke-width="3" />
<% end %>
<% end %>
</g>
</svg>
Jump to Line
Something went wrong with that request. Please try again.