Sharedwww / talks / 2006-05-09-sage-digipen / tutorial / pudding-1.pyOpen in CoCalc
Author: William A. Stein
1
import soya
2
import soya.pudding as pudding
3
4
soya.init()
5
pudding.init()
6
7
scene = soya.World()
8
9
camera = soya.Camera(scene)
10
11
soya.set_root_widget(pudding.core.RootWidget())
12
soya.root_widget.add_child(camera)
13
14
text = pudding.control.SimpleLabel(soya.root_widget, label = "Hello World!", autosize = True)
15
16
pudding.idler.Idler(scene).idle()
17