lee on Nostr: i'm still working on my project to implement a Processing-like API in Lua/Love2d. I ...
i'm still working on my project to implement a Processing-like API in Lua/Love2d. I have added a majority (?) of the functions, including a number I never use. Because love2d clears the screen between drawing functions I chose to add in persistence using a canvas buffer system that redraws each frame. Here's an example drawing random rectangles with occasional background screen redraw.
{
"id":"fafc6997ff52fa097e464c1ef0b97b761dda52842c2a433957fda14932cca4e1",
"pubkey":"99121cbb0b8856b6e543ca4e7315b6d749b345baec8f0c7770950a1b11970c63",
"created_at":1752491409,
"kind":1,
"tags": [
[
"imeta",
"url https://assets.merveilles.town/media_attachments/files/114/851/273/631/003/728/original/be7a71d2b37f92db.mp4",
"m video/mp4"
],
[
"proxy",
"https://merveilles.town/@exquisitecorp/114851276980312564",
"web"
],
[
"proxy",
"https://merveilles.town/users/exquisitecorp/statuses/114851276980312564",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://merveilles.town/users/exquisitecorp/statuses/114851276980312564",
"pink.momostr"
],
[
"-"
]
],
"content":"i'm still working on my project to implement a Processing-like API in Lua/Love2d. I have added a majority (?) of the functions, including a number I never use. Because love2d clears the screen between drawing functions I chose to add in persistence using a canvas buffer system that redraws each frame. Here's an example drawing random rectangles with occasional background screen redraw.\nhttps://assets.merveilles.town/media_attachments/files/114/851/273/631/003/728/original/be7a71d2b37f92db.mp4\n",
"sig":"59464c1ade64927104aa60194e735cb727b32c921cd967b02dd4f3a53ad1c9e6d708a21e90673fa1af44041b8515f6057b703d520ab5d93a9abaa24d33c251c9"
}