Hier werden die Unterschiede zwischen zwei Versionen gezeigt.
Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
ws1617:the_art_of_music:protokolle:06 [2017/02/09 15:39] cm.mint.2016 |
ws1617:the_art_of_music:protokolle:06 [2017/02/09 17:26] (aktuell) cm.mint.2016 |
||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
====== 2017-02-02: ====== | ====== 2017-02-02: ====== | ||
- | Haben uns weiter mit der Visualisierung beschäftigt. Inzwischen existiert ein Programm, welches durch den Input von verschiedenen Frequenzen, Kreise in Abhängigkeit der Frequenzen ausgibt. Diese variieren in der Größe und haben unterschiedliche Farben. | + | Wir haben uns weiter mit der Visualisierung beschäftigt. Inzwischen existiert ein Programm, welches durch den Input von verschiedenen Frequenzen, Kreise, in Abhängigkeit der Frequenzen, ausgibt. Diese variieren in der Größe und haben unterschiedliche Farben. |
+ | <code python> | ||
#!/usr/bin/env python | #!/usr/bin/env python | ||
# -*- coding: utf-8 -*- | # -*- coding: utf-8 -*- | ||
Zeile 8: | Zeile 8: | ||
# test_moving_circles.py | # test_moving_circles.py | ||
# | # | ||
- | # Copyright 2017 Stefan Born <born@math.tu-berlin.de> | + | # |
- | # | + | |
- | # This program is free software; you can redistribute it and/or modify | + | |
- | # it under the terms of the GNU General Public License as published by | + | |
- | # the Free Software Foundation; either version 2 of the License, or | + | |
- | # (at your option) any later version. | + | |
- | # | + | |
- | # This program is distributed in the hope that it will be useful, | + | |
- | # but WITHOUT ANY WARRANTY; without even the implied warranty of | + | |
- | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | + | |
- | # GNU General Public License for more details. | + | |
# | # | ||
- | # You should have received a copy of the GNU General Public License | ||
- | # along with this program; if not, write to the Free Software | ||
- | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, | ||
- | # MA 02110-1301, USA. | ||
# | # | ||
# | # | ||
Zeile 104: | Zeile 90: | ||
#print z[0] | #print z[0] | ||
win.run() | win.run() | ||
+ | </code> | ||