From d28556aacbb2b5113003bc5a265cde0a61f1d9f3 Mon Sep 17 00:00:00 2001 From: Francesco Luzzana Date: Sun, 22 May 2022 10:42:24 +0200 Subject: [PATCH] branching directions --- exquisite_branch/templates/display_mako.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exquisite_branch/templates/display_mako.html b/exquisite_branch/templates/display_mako.html index 63b4ccf..909e8f5 100644 --- a/exquisite_branch/templates/display_mako.html +++ b/exquisite_branch/templates/display_mako.html @@ -13,7 +13,7 @@
<% transform = '' %> % for branch in stream: - <% transform = transform + ' rotate(' + str(random() * 0.02) + 'turn) translateX(100%)'%> + <% transform = transform + ' rotate(' + str((random() * 2 - 1) * 0.02) + 'turn) translateX(100%)'%>
${branch['content']}
% endfor