{"id":22032352,"url":"https://github.com/vaiorabbit/nanovg-bindings","last_synced_at":"2025-05-07T12:45:57.405Z","repository":{"id":56885140,"uuid":"38949742","full_name":"vaiorabbit/nanovg-bindings","owner":"vaiorabbit","description":"A Ruby bindings for NanoVG ( https://github.com/memononen/nanovg )","archived":false,"fork":false,"pushed_at":"2025-01-13T07:07:52.000Z","size":10771,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-31T10:11:28.725Z","etag":null,"topics":["nanovg","opengl","ruby"],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vaiorabbit.png","metadata":{"files":{"readme":"README.md","changelog":"ChangeLog","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}},"created_at":"2015-07-12T04:17:10.000Z","updated_at":"2025-01-01T12:39:10.000Z","dependencies_parsed_at":"2024-01-05T04:25:13.164Z","dependency_job_id":"3480c77e-0c7b-4f59-b198-2dd3cb08f97f","html_url":"https://github.com/vaiorabbit/nanovg-bindings","commit_stats":{"total_commits":120,"total_committers":5,"mean_commits":24.0,"dds":"0.44166666666666665","last_synced_commit":"64a84db9341074542516a3ec6a5c656d41c65f36"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaiorabbit%2Fnanovg-bindings","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaiorabbit%2Fnanovg-bindings/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaiorabbit%2Fnanovg-bindings/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaiorabbit%2Fnanovg-bindings/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vaiorabbit","download_url":"https://codeload.github.com/vaiorabbit/nanovg-bindings/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252881625,"owners_count":21819148,"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":["nanovg","opengl","ruby"],"created_at":"2024-11-30T08:27:44.053Z","updated_at":"2025-05-07T12:45:57.397Z","avatar_url":"https://github.com/vaiorabbit.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NanoVG-Bindings : A Ruby bindings of NanoVG #\n\nProvides NanoVG ( https://github.com/memononen/nanovg ) interfaces for ruby (MRI).\n\n*   Created : 2015-07-12\n*   Last modified : 2025-01-01\n\n\u003cimg src=\"https://raw.githubusercontent.com/vaiorabbit/nanovg-bindings/master/doc/example_rb.png\" width=\"150\"\u003e \u003cimg src=\"https://raw.githubusercontent.com/vaiorabbit/nanovg-bindings/master/doc/emojifont_rb.png\" width=\"150\"\u003e \u003cimg src=\"https://raw.githubusercontent.com/vaiorabbit/nanovg-bindings/master/doc/hex_gol_glider5_rb.png\" width=\"150\"\u003e \u003cimg src=\"https://raw.githubusercontent.com/vaiorabbit/nanovg-bindings/master/doc/jpfont_rb.png\" width=\"150\"\u003e \u003cimg src=\"https://raw.githubusercontent.com/vaiorabbit/nanovg-bindings/master/doc/mandelbrot_rb.png\" width=\"150\"\u003e\n\n\n## Prerequisites ##\n\n*   Ruby-FFI ( https://github.com/ffi/ffi )\n\t*   $ gem install ffi\n\n*   OpenGL context provider\n\t*   ex.) glut.rb or glfw.rb in opengl-bindings ( https://github.com/vaiorabbit/ruby-opengl )\n\t*   $ gem install opengl-bindings\n\n## How to Use ##\n\n1. Build NanoVG shared library\n\t*   See nanovg_dll\n\n2. Include nanovg.rb in your script.\n\t*   ex.) require_relative 'nanovg'\n\n3. Load shared library\n\t*   ex.) NanoVG.load_dll('libnanovg_gl2.dylib', render_backend: :gl2)\n\n4. Setup OpenGL\n\t*   nvgSetupGL2() / nvgSetupGL3\n\nSee demo/example.rb for details.\n\n## License ##\n\nAll source codes are available under the terms of the zlib/libpng license.\n\n\tNanoVG-Bindings : A Ruby bindings of NanoVG\n\tCopyright (c) 2015-2025 vaiorabbit\n\t\n\tThis software is provided 'as-is', without any express or implied\n\twarranty. In no event will the authors be held liable for any damages\n\tarising from the use of this software.\n\t\n\tPermission is granted to anyone to use this software for any purpose,\n\tincluding commercial applications, and to alter it and redistribute it\n\tfreely, subject to the following restrictions:\n\t\n\t    1. The origin of this software must not be misrepresented; you must not\n\t    claim that you wrote the original software. If you use this software\n\t    in a product, an acknowledgment in the product documentation would be\n\t    appreciated but is not required.\n\t\n\t    2. Altered source versions must be plainly marked as such, and must not be\n\t    misrepresented as being the original software.\n\t\n\t    3. This notice may not be removed or altered from any source\n\t    distribution.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvaiorabbit%2Fnanovg-bindings","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvaiorabbit%2Fnanovg-bindings","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvaiorabbit%2Fnanovg-bindings/lists"}