aboutsummaryrefslogtreecommitdiffstats
path: root/logo
diff options
context:
space:
mode:
authoreine <eine@users.noreply.github.com>2021-01-01 05:59:23 +0100
committereine <eine@users.noreply.github.com>2021-01-01 20:34:15 +0100
commitb423d31131ccc695de3b3015b91307e9e72ae821 (patch)
tree0498b83e208692be6a4fd493d074dacec66e2aaf /logo
parent73b75b927177d2d6553e6b86e325537a38f39527 (diff)
downloadghdl-b423d31131ccc695de3b3015b91307e9e72ae821.tar.gz
ghdl-b423d31131ccc695de3b3015b91307e9e72ae821.tar.bz2
ghdl-b423d31131ccc695de3b3015b91307e9e72ae821.zip
logo: add new bit logo
Diffstat (limited to 'logo')
-rw-r--r--logo/banner.pngbin0 -> 118910 bytes
-rw-r--r--logo/banner.xcfbin0 -> 884111 bytes
-rw-r--r--logo/gen_logo.py59
-rw-r--r--logo/icon.pngbin0 -> 114478 bytes
-rw-r--r--logo/logo.xcfbin0 -> 1253622 bytes
5 files changed, 59 insertions, 0 deletions
diff --git a/logo/banner.png b/logo/banner.png
new file mode 100644
index 000000000..e38a5bf6b
--- /dev/null
+++ b/logo/banner.png
Binary files differ
diff --git a/logo/banner.xcf b/logo/banner.xcf
new file mode 100644
index 000000000..8146f058a
--- /dev/null
+++ b/logo/banner.xcf
Binary files differ
diff --git a/logo/gen_logo.py b/logo/gen_logo.py
new file mode 100644
index 000000000..23779eccd
--- /dev/null
+++ b/logo/gen_logo.py
@@ -0,0 +1,59 @@
+import svgwrite
+
+dwg = svgwrite.Drawing('logo.svg', profile='tiny')
+
+_size = 20
+_fill = svgwrite.rgb(50, 50, 50, '%')
+_stroke_width = 2
+
+_GHDL = [
+ [
+ "01110",
+ "10001",
+ "10000",
+ "10111",
+ "10001",
+ "10001",
+ "01111"
+ ],
+ [
+ "10001",
+ "10001",
+ "10001",
+ "11111",
+ "10001",
+ "10001",
+ "10001",
+ ],
+ [
+ "11100",
+ "10010",
+ "10001",
+ "10001",
+ "10001",
+ "10010",
+ "11100"
+ ],
+ [
+ "10000",
+ "10000",
+ "10000",
+ "10000",
+ "10000",
+ "10000",
+ "11111"
+ ]
+]
+
+for idl, _letter in enumerate(_GHDL):
+ for idy, _row in enumerate(_letter):
+ for idx, val in enumerate(_row):
+ print(idl, idx, idy)
+ if val == '1':
+ dwg.add(dwg.rect(
+ (idl*_size*6 + idx*_size+_stroke_width, idy*_size+_stroke_width),
+ (_size-2*_stroke_width, _size-2*_stroke_width),
+ fill=_fill,
+ ))
+
+dwg.save()
diff --git a/logo/icon.png b/logo/icon.png
new file mode 100644
index 000000000..18a882b75
--- /dev/null
+++ b/logo/icon.png
Binary files differ
diff --git a/logo/logo.xcf b/logo/logo.xcf
new file mode 100644
index 000000000..eb4263e45
--- /dev/null
+++ b/logo/logo.xcf
Binary files differ