Skip to content

Commit

Permalink
a favicon
Browse files Browse the repository at this point in the history
  • Loading branch information
nedbat committed Jul 29, 2021
1 parent d82f6ab commit c99ed09
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 15 deletions.
4 changes: 1 addition & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,7 @@ kit: build
python setup.py bdist_wininst --bitmap etc/wininst.bmp

icon:
python scripts/aptuscmd.py etc/icon.aptus -s 47x47
python scripts/aptuscmd.py etc/icon.aptus -s 31x31
python scripts/aptuscmd.py etc/icon.aptus -s 15x15
aptuscmd --size=64x64 --super=5 --output src/aptus/web/static/icon.png etc/icon.aptus

lint: clean
python -x /Python25/Scripts/pylint.bat --rcfile=.pylintrc src
Expand Down
25 changes: 13 additions & 12 deletions etc/icon.aptus
Original file line number Diff line number Diff line change
@@ -1,20 +1,21 @@
{"Aptus state": 1,
"center": [-0.6423821844477835, 0.0],
"diam": [2.2539444027047328, 2.2539444027047328],
"angle": 90,
"iter_limit": 999,
"size": [640, 640],
"palette": [['rgb_colors', {'colors': [
(255, 255, 255), (255, 255, 255), (255, 255, 255), (255, 255, 255),
(127, 255, 127), (127, 255, 127), (127, 255, 127), (127, 255, 127), (127, 255, 127),
(255, 255, 255), (255, 255, 255), (255, 255, 255), (255, 255, 255), (255, 255, 255),
(255, 255, 255), (255, 255, 255), (255, 255, 255), (255, 255, 255), (255, 255, 255),
(255, 255, 255), (255, 255, 255), (255, 255, 255), (255, 255, 255), (255, 255, 255),
(255, 255, 255), (255, 255, 255), (255, 255, 255), (255, 255, 255), (255, 255, 255),
(255, 255, 255), (255, 255, 255), (255, 255, 255), (255, 255, 255), (255, 255, 255),
(255, 255, 255), (255, 255, 255), (255, 255, 255), (255, 255, 255), (255, 255, 255),
(255, 255, 255), (255, 255, 255), (255, 255, 255), (255, 255, 255), (255, 255, 255),
(255, 255, 255), (255, 255, 255), (255, 255, 255), (255, 255, 255), (255, 255, 255),
(255, 255, 255), (255, 255, 255), (255, 255, 255), (255, 255, 255), (255, 255, 255)]}]],
"palette": [["rgb_colors", {"colors": [
[255, 255, 255], [255, 255, 255], [255, 255, 255], [255, 255, 255],
[127, 255, 127], [127, 255, 127], [127, 255, 127], [127, 255, 127], [127, 255, 127],
[255, 255, 255], [255, 255, 255], [255, 255, 255], [255, 255, 255], [255, 255, 255],
[255, 255, 255], [255, 255, 255], [255, 255, 255], [255, 255, 255], [255, 255, 255],
[255, 255, 255], [255, 255, 255], [255, 255, 255], [255, 255, 255], [255, 255, 255],
[255, 255, 255], [255, 255, 255], [255, 255, 255], [255, 255, 255], [255, 255, 255],
[255, 255, 255], [255, 255, 255], [255, 255, 255], [255, 255, 255], [255, 255, 255],
[255, 255, 255], [255, 255, 255], [255, 255, 255], [255, 255, 255], [255, 255, 255],
[255, 255, 255], [255, 255, 255], [255, 255, 255], [255, 255, 255], [255, 255, 255],
[255, 255, 255], [255, 255, 255], [255, 255, 255], [255, 255, 255], [255, 255, 255],
[255, 255, 255], [255, 255, 255], [255, 255, 255], [255, 255, 255], [255, 255, 255]]}]],
"palette_phase": 0,
"supersample": 1
}
Binary file added src/aptus/web/static/icon.png
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 src/aptus/web/templates/mainpage.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<!DOCTYPE html>
<head>
<title>Aptus</title>
<link rel="shortcut icon" type="image/png" href="{{ url_for('static', path='/icon.png') }}"/>
<link href="{{ url_for('static', path='/style.css') }}" rel="stylesheet">
<script>
const palettes = {{palettes|tojson}};
Expand Down

0 comments on commit c99ed09

Please sign in to comment.