From ec55b5df7cf9c9d85de62ef5955b9e0b6f373207 Mon Sep 17 00:00:00 2001 From: calgary34 <51468959+calgary34@users.noreply.github.com> Date: Fri, 21 Jan 2022 16:01:04 -0700 Subject: [PATCH] Add libavg (#1270) * Create Libavg.py * Update readme.md * Update readme.md * Rename Libavg.py to libavg.py --- l/libavg.py | 8 ++++++++ readme.md | 3 ++- 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 l/libavg.py 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)