{"id":16214110,"url":"https://github.com/bitbrain/acid","last_synced_at":"2025-04-07T22:17:16.329Z","repository":{"id":9811525,"uuid":"11793417","full_name":"bitbrain/acid","owner":"bitbrain","description":"Provides a Java cell API to display fancy cell boxes.","archived":false,"fork":false,"pushed_at":"2013-08-05T15:11:51.000Z","size":220,"stargazers_count":1,"open_issues_count":4,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-13T23:36:15.086Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bitbrain.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}},"created_at":"2013-07-31T14:55:35.000Z","updated_at":"2014-07-26T15:52:26.000Z","dependencies_parsed_at":"2022-07-30T16:39:08.411Z","dependency_job_id":null,"html_url":"https://github.com/bitbrain/acid","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/bitbrain%2Facid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitbrain%2Facid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitbrain%2Facid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitbrain%2Facid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bitbrain","download_url":"https://codeload.github.com/bitbrain/acid/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247737783,"owners_count":20987721,"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-10T11:09:40.915Z","updated_at":"2025-04-07T22:17:16.308Z","avatar_url":"https://github.com/bitbrain.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"![acid-banner](banner.png)\n\nProvides a Java cell API to display fancy cell boxes. This API is library independent, therefore you have to draw everything by yourself. \n\nThe following features can be used:\n\n* Detection if position is inside of the box\n* Pixel size and amount can be changed\n* Images can be loaded\n* Color detection\n\nThe following libraries are automatically supported:\n\n* Slick2D\n\n### Example\n\nA short example in Slick2D. The following code:\n\n```java\n// JavaFX: FXBufferedRenderer()\n// LibGDX: GdxBufferedRenderer()\nacid = new Acid(new SlickBufferedRenderer());\n\t\tacid.backgroundColor(0.2f, 0.2f, 0.2f);\n\t\tacid.setIndexX(8);\n\t\tacid.setIndexY(6);\n\t\tacid.setCellSize(50);\n\t\t\n\t\tacid.color(0.2f, 1f, 0f);\n\t\tacid.set(1, 1);\n\t\tacid.color(0.4f, 0f, 0.6f);\n\t\tacid.set(2, 2);\n\t\t\n\t\t// Set the element to the middle\n\t\tacid.setPosition(gc.getWidth() / 2f - acid.getWidth() / 2f, \n\t\t\t\t\t\t gc.getHeight() / 2f - acid.getHeight() / 2f);\n```\n\ncreates the following result:\n\n![Image](screenshot.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitbrain%2Facid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbitbrain%2Facid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitbrain%2Facid/lists"}