Skip to content

Commit

Permalink
Adding the luwrain icon
Browse files Browse the repository at this point in the history
  • Loading branch information
marigostra committed Apr 26, 2024
1 parent edfd3df commit 69fe72f
Show file tree
Hide file tree
Showing 10 changed files with 65 additions and 1 deletion.
60 changes: 60 additions & 0 deletions logo/main/logo.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@

import svgwrite
from math import sqrt

bottom = 300
bottom_w=70
center = 250
root=sqrt(2)
space=40

l_left_len = 320
l_right_len = 350 / 2
right_space = l_right_len + 30
l_width = 50

w_len=100
w_width = 40

l_left1 = (round(center - l_left_len / root), round(bottom - l_left_len / root))
l_left2 = (round(center - l_left_len / root + l_width / root), round(bottom - l_left_len / root - l_width / root))
l_center1 = (center, bottom)
l_center2 = (center, round(bottom - l_width * root))
l_right1 = (round(center + l_right_len / root), round(bottom - l_right_len / root))
l_right2 = (round(center + l_right_len / root - l_width / root), round(bottom - l_right_len / root - l_width / root))

w_left1 = (round(center - w_len / root), round(bottom_w + w_len / root))
w_left2 = (round(center - w_len / root), round(bottom_w + w_len / root - w_width * root))

w_left1a = (round(w_left1[0] - w_len / root), round(w_left1[1] - w_len / root))
w_left2a = (round(w_left1a[0] + w_width / root), round(w_left1a[1] - w_width / root))

w_right1 = (round(center + w_len / root), round(bottom_w + w_len / root))
w_right2 = (round(center + w_len / root), round(bottom_w + w_len / root - w_width * root))

w_right1a = (round(w_right1[0] + w_len / root), round(w_right1[1] - w_len / root))
w_right2a = (round(w_right1a[0] - w_width / root), round(w_right1a[1] - w_width / root))

w_center1 = (center, bottom_w)
w_center2 = (center, round(bottom_w - w_width * root))

center1 = (center, l_center2[1] - space)
center3 = (center, w_center1[1] + space)
center2 = (center - (center1[1] - center3[1]) / 2, center3[1] + (center1[1] - center3[1]) / 2)
center4 = (center + (center1[1] - center3[1]) / 2, center3[1] + (center1[1] - center3[1]) / 2)

right1 = (round(center + l_left_len / root), round(bottom - l_left_len / root))
right2 = (round(center + l_left_len / root - l_width / root), round(bottom - l_left_len / root - l_width / root))
right3 = (round(center + right_space / root), round(bottom - right_space / root))
right4 = (round(center + right_space / root - l_width / root), round(bottom - right_space / root - l_width / root))

#print(w_center2[1])
lcolor = svgwrite.rgb(10, 10, 16, '%')

dwg = svgwrite.Drawing('luwrain.svg')
dwg.add(dwg.polygon(points=[l_left1, l_left2, l_center2, l_right2, l_right1, l_center1], style="fill: blue;"))
dwg.add(dwg.polygon(points=[w_left1, w_left1a, w_left2a, w_left2, w_center2, w_right2, w_right2a, w_right1a, w_right1,w_center1], style="fill: blue;"))
dwg.add(dwg.polygon(points=[center1, center2, center3, center4], style="fill: blue;"))
dwg.add(dwg.polygon(points=[right1, right2, right4, right3], style="fill: blue;"))

dwg.save()
2 changes: 2 additions & 0 deletions logo/main/luwrain.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added logo/testing/1/32x32.ico
Binary file not shown.
Binary file added logo/testing/1/50x50.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added logo/testing/1/64x64.ico
Binary file not shown.
1 change: 1 addition & 0 deletions logo/testing/2/blue.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions logo/testing/2/green.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added logo/testing/2/out.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added luwrain.ico
Binary file not shown.
2 changes: 1 addition & 1 deletion sounds/make
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ sox -D _list-item.wav list-item.wav gain -12

./empty-line.sh
mv empty-line.wav .empty-line.wav
sox -D .empty-line.wav empty-line.wav gain -35
sox -D .empty-line.wav empty-line.wav gain -30

./list-item-important.sh
mv list-item-important.wav _list-item-important.wav
Expand Down

0 comments on commit 69fe72f

Please sign in to comment.