{"id":17643746,"url":"https://github.com/mic159/opcpreview","last_synced_at":"2025-03-30T06:40:26.730Z","repository":{"id":142092679,"uuid":"64886687","full_name":"mic159/opcpreview","owner":"mic159","description":"OPC JSON layout viewer","archived":false,"fork":false,"pushed_at":"2016-08-04T01:18:27.000Z","size":277,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-05T08:50:40.113Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/mic159.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":"2016-08-03T23:40:33.000Z","updated_at":"2016-08-19T09:15:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"c0debdc3-5132-4278-88a0-7615334a9fe1","html_url":"https://github.com/mic159/opcpreview","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mic159%2Fopcpreview","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mic159%2Fopcpreview/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mic159%2Fopcpreview/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mic159%2Fopcpreview/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mic159","download_url":"https://codeload.github.com/mic159/opcpreview/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246285663,"owners_count":20752953,"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-10-23T09:24:01.624Z","updated_at":"2025-03-30T06:40:26.713Z","avatar_url":"https://github.com/mic159.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OPC Preview, an OPC JSON layout viewer\n\nGot a layout JSON file, but not sure what it looks like?\nThis should help!\n\nSome Fadecandy \u0026 Open Pixel Control programs use a layout JSON file to define\nthe layout of the LEDs in 3D space. The projects include some examples and\ngenerators, but there was no easy way to see what they look like, or if what you\nmade was correct!\n\n![Screenshot](screenshot.png)\n\nThis is loosely based on the work from [mikolalysenko/svg-3d-simplicial-complex](https://github.com/mikolalysenko/svg-3d-simplicial-complex).\n\n# How to use\n\nIts hosted over here: https://mic159.github.io/opcpreview/\n\nOn the left, you will see the current preview, and underneath it is the\n3d rotation controls.\n\nOn the right is the JSON file currently loaded.\nTo view your layout, just paste it into the text area!\n\n# Some example layouts:\n\n- [scanlime/fadecandy](https://github.com/scanlime/fadecandy/tree/master/examples/layouts)\n    - https://github.com/scanlime/fadecandy/blob/master/examples/layouts/grid32x16z.json\n    - https://github.com/scanlime/fadecandy/blob/master/examples/layouts/grid8x8.json\n    - https://github.com/scanlime/fadecandy/blob/master/examples/layouts/ring24.json\n    - https://github.com/scanlime/fadecandy/blob/master/examples/layouts/strip64.json\n    - https://github.com/scanlime/fadecandy/blob/master/examples/layouts/triangle16.json\n- [zestyping/openpixelcontrol](https://github.com/zestyping/openpixelcontrol/tree/master/layouts)\n    - https://github.com/zestyping/openpixelcontrol/blob/master/layouts/cylinder_r1_h1_64x20.json\n    - https://github.com/zestyping/openpixelcontrol/blob/master/layouts/circle_r1_50x.json\n\n# Development / installation\n\nPrerequisites:\n\n- NodeJS \u0026 NPM (Tested with 6.X)\n- Python 2 (for dev server, optional)\n\n```\ngit clone https://github.com/mic159/lampy.git\ncd lampy\nnpm install\nnpm start \u0026\nnpm run dev\n```\n\nNow open your browser to http://localhost:8000/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmic159%2Fopcpreview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmic159%2Fopcpreview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmic159%2Fopcpreview/lists"}