A keyboard piano written in the zen of minimalism.
这是一个极简主义的键盘钢琴。
Features / 特性:
-
Only 64 lines of code. / 只有64行代码。
-
Ripple Effects in various shades when playing. / 随演奏激发的明暗波纹效果。
-
Specially designed layout of keys for ease of playing. / 为舒适演奏特殊设计的琴键布局。
esc
----- ----- ----- ----- ----- -----
1 | f# | 3 | d# | c# | 6 7 | a2# | g2# | f2# | - = Backspace
----- ----- ----- ----- ----- ----- ----- ----- ----- ----- -----
| g# | f | e | d | c | Y | b2 | a2 | g2 | f2 | e2 | d2# |
-- ----- ----- ----- ----- ----- -- ----- ----- ----- ----- ----- --
| g | a# | D | c1# | d1# | H | f1# | g1# | a1# | c2# | d2 |
-- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- --
| a | b | c1 | d1 | e1 | f1 | g1 | a1 | b1 | c2 |
----- ----- ----- ----- ----- ----- ----- ----- ----- -----
How to play / 使用说明:
Download the latest release, unzip and run ZenPiano.exe
. / 下载最新发布版,解压然后运行 ZenPiano.exe
。
OR / 或者:
- If
pygame
not installed, run / 如果未安装pygame
, 执行:
pip install pygame
- Download repository and run / 下载仓库,然后执行:
python piano.py
Press esc
to quit. / 按下 esc
退出。
Inspiration and music files come from / 灵感及音乐文件来源于 : KikiLetGo/MyPiano.