{"id":13438577,"url":"https://github.com/lo-th/uil","last_synced_at":"2025-05-15T05:07:24.423Z","repository":{"id":33281362,"uuid":"36926031","full_name":"lo-th/uil","owner":"lo-th","description":"simple javascript ui","archived":false,"fork":false,"pushed_at":"2025-02-18T21:02:07.000Z","size":24774,"stargazers_count":567,"open_issues_count":4,"forks_count":50,"subscribers_count":22,"default_branch":"gh-pages","last_synced_at":"2025-05-10T17:04:35.252Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://lo-th.github.io/uil/","language":"JavaScript","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/lo-th.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":["lo-th"]}},"created_at":"2015-06-05T10:08:08.000Z","updated_at":"2025-04-25T02:01:01.000Z","dependencies_parsed_at":"2024-01-03T04:06:12.570Z","dependency_job_id":"761acdd0-6973-46b7-bd32-7f4a7f2b52c1","html_url":"https://github.com/lo-th/uil","commit_stats":{"total_commits":349,"total_committers":3,"mean_commits":"116.33333333333333","dds":"0.054441260744985676","last_synced_commit":"b5a081de371b07bc6207ca13b185b3542d87ee26"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lo-th%2Fuil","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lo-th%2Fuil/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lo-th%2Fuil/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lo-th%2Fuil/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lo-th","download_url":"https://codeload.github.com/lo-th/uil/tar.gz/refs/heads/gh-pages","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254276447,"owners_count":22043867,"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":[],"created_at":"2024-07-31T03:01:06.589Z","updated_at":"2025-05-15T05:07:19.412Z","avatar_url":"https://github.com/lo-th.png","language":"JavaScript","readme":"\u003cp align=\"center\"\u003e\u003ca href=\"http://lo-th.github.io/uil/\"\u003e\u003cimg src=\"http://lo-th.github.io/uil/examples/assets/uil.jpg\"/\u003e\u003c/a\u003e\u003cbr\u003eUIL v4.3.0\u003c/p\u003e\n\nuil.js is a lightweight ui for javascript with a complete 3d display support.\u003cbr\u003e\ntotally customizable, only 6 events, auto resize\u003cbr\u003e\n[**MAIN EXAMPLE**](http://lo-th.github.io/uil/index.html)\n\n**1 - init engine**\n```sh\nvar ui = new UIL.Gui( { w:300 } )\n```\n**2 - add value**\n```sh\nui.add('title', { name:'Title'})\nui.add('bool', { name:'Bool' })\nui.add('color', { name:'Color', type:'rgba', value:[0,1,1,1]})\nui.add('slide', { name:'Slide', value:50})\nlet myList = ui.add('list', { name:'List', list:['i1', 'i2', ...]})\n```\n**3 - add value with object reference**\n```sh\nconst obj = {\n  name:'welcome to uil',\n  value: 2,\n  slider: 30,\n  vector: { x:10, y:-30 }\n}\n\nui.add( obj, 'string', { type:'string' })\nui.add( obj, 'value', { type:'number', min:0, max:10, precision:2, step:0.01 })\nui.add( obj, 'slider', { type:'slide' })\nui.add( obj, 'vector', { type:'number' })\n```\n**4 - callback return the value**\n```sh\nui.add('number', { name:'Vector4', value:[0,0,0,0] }).onChange( function(v){ debug.innerHTML = v; } )\n```\n**5 - you can reset all value**\n```sh\nui.clear();\n```\n**6 - other examples**\n\n[**uil module**](http://lo-th.github.io/uil/examples/index_module.html)\n\n[**uil listen**](http://lo-th.github.io/uil/examples/uil_listen.html)\n\n[**uil color**](http://lo-th.github.io/uil/examples/uil_color.html)\n\n[**uil stresstest**](http://lo-th.github.io/uil/examples/uil_stresstest.html)\n\n[**uil group**](http://lo-th.github.io/uil/examples/uil_group.html)\n\n[**uil to canvas**](http://lo-th.github.io/uil/examples/uil_to_canvas.html)\n\n[**uil to three**](http://lo-th.github.io/uil/examples/uil_3d.html)\n\n[**uil to three 2**](http://lo-th.github.io/uil/examples/uil_3d_2.html)\n\n**7 - uil is on npm**\n```sh\nnpm i uil\n```\n\n**8 - creator Tools**\n\n[**uil icon creator**](http://lo-th.github.io/uil/examples/uil_icon.html)\n\n[**uil ARM creator**](http://lo-th.github.io/uil/examples/uil_mapARM.html)\n\n[**uil KTX2 creator**](http://lo-th.github.io/uil/examples/uil_ktx2.html)","funding_links":["https://github.com/sponsors/lo-th"],"categories":["JavaScript","Libraries"],"sub_categories":["JavaScript"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flo-th%2Fuil","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flo-th%2Fuil","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flo-th%2Fuil/lists"}