Table of Contents

Name Badge – Python

Example Description
The example demonstrates how to display scrolling text to make a name badge in the Python Coding Environment.

Code

sprite = Sprite('Tobi')
quarky=Quarky()

while True:
	quarky.showanimation("blink")
	quarky.showanimation("blink")
	quarky.showscrollingtext("Quarky", 2, [0, 255, 0])
	quarky.showscrollingtext("Robotics", 2, [0, 0, 255])

Output