《书呆子复仇》封面
happy-couple的Python项目详细描述
幸福夫妻
从《书呆子的复仇》电影中创建动画封面的脚本
信息
目前,脚本可用于打开的简历。我想在将来添加一些特性,并将tkinter gui作为选项。
安装
。代码块::python
pip install happy_couple
用法
。代码块::python
from happy_couple import animation
animation(Fale)
# then just press enter, or type some commands. Hardcoded sequence will be executed.
animation(True)
# use specified commands, to create expected animation
伪序列命令
它可以用来模拟真实的编码:
- > this is very strange animation
- > start
- > glasses(20, some.glasses())
- > eyes(2, 'big', 'center-left')
- > hair('wavy', 'long')
- > resize_down('right-corner')
- > full_figure('legs', 'hands', 'feets')
- > man_full_figure('head', 'body', 'legs', 'hands', 'feets', 'glasses')
- > hand_up('man')
- > hand_up('woman')
- > walk(men, woman)
- > dance('right-left', 'forward', 'sound'='on')
快乐夫妻动画的屏幕
。图片::happy_couple.png