diff --git a/l/libavg.py b/l/libavg.py new file mode 100644 index 00000000..17bb1e7e --- /dev/null +++ b/l/libavg.py @@ -0,0 +1,8 @@ +from libavg import avg + +player = avg.Player.get() +canvas = player.createMainCanvas(size=(640,480)) +rootNode = canvas.getRootNode() +avg.WordsNode(pos=(10,10), font="arial", + text="Hello World", parent=rootNode) +player.play() diff --git a/readme.md b/readme.md index e3ea27e1..e648f8ff 100644 --- a/readme.md +++ b/readme.md @@ -8,7 +8,7 @@ Thanks to everyone who continues to contribute; new languages are created every Make sure to see [contributing.md](/contributing.md) for instructions on contributing to the project! -## Languages (878 total) +## Languages (879 total) * [!@#$%^&*()_+](%23/%21%40%23%24%25%5E%26%E2%88%97%28%29_%2B) * [():;#?!](%23/%28%29%CB%B8%3B%23%EF%BC%9F%21) @@ -509,6 +509,7 @@ Make sure to see [contributing.md](/contributing.md) for instructions on contrib * [LCoffee](l/LCoffee.lcoff) * [Less](l/Less.less) * [Leszek](l/Leszek.leszek) +* [libavg](l/libavg.py) * [Like, Python](l/Like%2C%20Python.lp) * [LilyPond](l/LilyPond.ly) * [Limbo](l/Limbo.b)