BoogieBot
Published in
2 min readDec 8, 2019
BoogieBot API:
Start BoogieBot:
startBot()
To sign your work:
設定標題:setBotTitle()
設定副標題: setBotSubtitle()
Move BoogieBot:
左右手臂移動:leftArmUp(), leftArmDown(), rightArmUp(), rightArmDown()
左右腳移動:leftLegUp(), leftLegDown(), rightLegUp(), rightLegDown()
擺動屁股:shakeItLeft(), shakeItRight(), shakeItCenter()
跳:jumpUp(), jumpDown()
Change BoogieBot Color:
變彩色.灰色:fabulize(), defabulize()
用以上BoogieBot內建的function自己排列組合一下的結果:
startBot()setBotTitle("Dance Bot")setBotSubtitle("By shin yu")startRecording()func dance() {fabulize()rightArmUp()shakeItLeft()shakeItCenter()shakeItLeft()shakeItCenter()leftArmUp()rightLegUp()jumpUp()jumpDown()rightLegDown()leftArmDown()rightArmDown()defabulize()}dance()dance()dance()