{"id":25906542,"url":"https://github.com/harfang3d/advanced-tutorials-hg2","last_synced_at":"2026-04-11T15:39:52.786Z","repository":{"id":279569831,"uuid":"939243258","full_name":"harfang3d/advanced-tutorials-hg2","owner":"harfang3d","description":"Usage of Lua/Python HARFANG combined with advanced features (AI, multitasking, etc)","archived":false,"fork":false,"pushed_at":"2025-02-26T09:15:29.000Z","size":4607,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-26T09:29:13.467Z","etag":null,"topics":["asyncio","coroutines","harfang-3d-framework","lua","opencv","python"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/harfang3d.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2025-02-26T08:24:07.000Z","updated_at":"2025-02-26T09:17:10.000Z","dependencies_parsed_at":"2025-02-26T09:39:37.085Z","dependency_job_id":null,"html_url":"https://github.com/harfang3d/advanced-tutorials-hg2","commit_stats":null,"previous_names":["harfang3d/advanced-tutorials-hg2"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harfang3d%2Fadvanced-tutorials-hg2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harfang3d%2Fadvanced-tutorials-hg2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harfang3d%2Fadvanced-tutorials-hg2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harfang3d%2Fadvanced-tutorials-hg2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/harfang3d","download_url":"https://codeload.github.com/harfang3d/advanced-tutorials-hg2/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241616678,"owners_count":19991543,"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":["asyncio","coroutines","harfang-3d-framework","lua","opencv","python"],"created_at":"2025-03-03T06:15:12.243Z","updated_at":"2025-12-31T01:05:34.130Z","avatar_url":"https://github.com/harfang3d.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HARFANG® Advanced Tutorials\n\nThese **tutorials** detail an advanced usage of the HARFANG API in **Python** and **Lua**. The aim is to demonstrate the combination of HARFANG with advanced systems found in the Lua or Python ecosystem, in terms of [AI](https://pypi.org/project/opencv-python/), [multitasking](https://en.wikipedia.org/wiki/Coroutine), etc.\n\n## Screenshots\n* Framebuffer to [OpenCV](https://pypi.org/project/opencv-python/) (Python only)\n![Buffer to OpenCV](screenshots/buffer_to_opencv_example.png)\n\n* Shadertoy to HARFANG® \n![Shadertoy to HARFANG](screenshots/shadertoy_to_harfang.png)\n\nClick [here](resources/convert_shader_to_harfang.md) for more infos.\n\n## To run the tutorials : \n\n1. Download or clone this repository to your computer _(eg. in `d:/advanced-tutorials-hg2`)_.\n2. Download _assetc_ for your platform from [here](https://harfang3d.com/releases) to compile the tutorial resources.\n3. Drag and drop the tutorial resources folder on the assetc executable **-OR-** execute assetc passing it the path to the tutorial folder _(eg. `assetc d:/advanced-tutorials-hg2/resources`)_.\n\n![assetc drag \u0026 drop](https://github.com/harfang3d/image-storage/raw/main/tutorials/assetc.gif)\n\nAfter the compilation process finishes, you will see a `resources_compiled` folder next to the tutorials resources folder.\n\nYou can now execute the tutorials from the folder you unzipped them to.\n\n```bash\nD:\\advanced-tutorials-hg2\u003epython scene_coroutine.py\n```\nor\n```bash\nD:\\advanced-tutorials-hg2\u003elua scene_coroutine.lua\n```\n\nAlternatively, you can open the tutorial folder using [Visual Studio Code](https://code.visualstudio.com/) and use the provided debug targets to run the tutorials.\n\n**If you want to know more about HARFANG**, please visit the [official website](https://www.harfang3d.com).\n\nYou can also visit the [Harfang3D-Tutorials](https://github.com/harfang3d/tutorials-hg2) if you want to see more.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharfang3d%2Fadvanced-tutorials-hg2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fharfang3d%2Fadvanced-tutorials-hg2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharfang3d%2Fadvanced-tutorials-hg2/lists"}