<%inherit file="base_mako.html" /> <%block name="head"> <% from random import random %> <% offset = 1 / len(streams)%> % for stream in streams:
<% transform = '' %> % for branch in stream: <% transform = transform + ' rotate(' + str((random() * 2 - 1) * 0.02 + (offset * loop.index)) + 'turn) translateX(100%)'%>
${branch['content']}
% endfor
% endfor