{"id":17283653,"url":"https://github.com/danomatika/loaf-ingredients","last_synced_at":"2025-06-13T11:07:34.693Z","repository":{"id":139775078,"uuid":"99919501","full_name":"danomatika/loaf-ingredients","owner":"danomatika","description":"A set of useful Lua classes \u0026 libraries for projects using loaf: lua, osc, and openframeworks","archived":false,"fork":false,"pushed_at":"2024-01-24T16:57:19.000Z","size":649,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-13T11:06:15.725Z","etag":null,"topics":["loaf","lua","openframeworks"],"latest_commit_sha":null,"homepage":"","language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/danomatika.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-08-10T12:15:46.000Z","updated_at":"2025-05-16T19:47:00.000Z","dependencies_parsed_at":"2024-01-24T18:06:01.763Z","dependency_job_id":null,"html_url":"https://github.com/danomatika/loaf-ingredients","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/danomatika/loaf-ingredients","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danomatika%2Floaf-ingredients","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danomatika%2Floaf-ingredients/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danomatika%2Floaf-ingredients/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danomatika%2Floaf-ingredients/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danomatika","download_url":"https://codeload.github.com/danomatika/loaf-ingredients/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danomatika%2Floaf-ingredients/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259634348,"owners_count":22887697,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["loaf","lua","openframeworks"],"created_at":"2024-10-15T09:51:52.581Z","updated_at":"2025-06-13T11:07:34.656Z","avatar_url":"https://github.com/danomatika.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"loaf-ingredients\n================\n\nA set of useful Lua classes \u0026 libraries for projects using loaf: \u003chttp://danomatika.com/code/loaf\u003e\n\n\u003eloaf is an interpreter for [openFrameworks](http://openframeworks.cc/) which allows you to write OF applications in the [Lua](http://www.lua.org/) scripting language. This means you can quickly create using openFrameworks but without having to compile C++ or use a heavy IDE like Xcode or Visual Studio. A built-in OSC (Open Sound Control) server enables loaf to communicate natively with other creative coding and music applications over a network connection.\n\n[Dan Wilcox](http://danomatika.com) 2017-2022\n\nIngredients List\n----------------\n\nThe ingredients are a mix of traditional Lua tables and reusable loaf class objects. The naming convention followed is for classes to begin with uppercase letters.\n\n* hui: the \"Hooey UI\", simple window \u0026 view hierarchy for UIs based on Apple's UIKit\n* panel: a simple vertical gui panel inspired by ofxGui, uses hui\n* resources: a loaf resource manager\n* SimpleSprite: simple sprite animation class using a sprite sheet\n* Scaler: a loaf 2d render scaler class\n* Timer: a simple millisecond timer class\n* Warper: a quad warper using an fbo\n* options: super simple commandline options parser\n\nDocumentation can be found in the source files and in examples.\n\nExamples are found on the `examples` directory. They can be run by either drag \u0026 dropping the Lua scripts onto loaf or via the commandline:\n\n    loaf examples/huitest.lua\n\nScreenshots:\n\n![huitest](doc/huitest.png)  \n**huitest**: multiple hui.Windows with enclosed hui.Views, active window has a red border\n\n![testpanel](doc/testpanel.png)  \n**testpanel**: panel with label and sliders, inspired by ofxGui\n\n![testwarper](doc/testwarper.png)  \n**testwarper**: quad warper in edit mode\n\nUsage\n-----\n\nDownload or clone this repository and place the .lua files and/or subfolders you want to use into a folder in your project, say \"libs\". To use the loaf resource manager, you might have the following project layout:\n\n    project/libs/resources.lua\n    project/assets/hellokitty.png\n    project/main.lua\n\nIn main.lua, you can then import and use resources.lua via the require keyword:\n\n    local resources = \"libs.resources\"\n    local image = resources.add(\"hellokitty\", \"assets/hellokitty.png\")\n\nNote the \"libs.resources\" which includes the \"libs\" subfolder. The same is true for libraries within a folder as require will automatically search for an init.lua file as well.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanomatika%2Floaf-ingredients","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanomatika%2Floaf-ingredients","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanomatika%2Floaf-ingredients/lists"}