{"id":37027470,"url":"https://github.com/lib16/graphics-java","last_synced_at":"2026-01-14T03:15:53.551Z","repository":{"id":57726138,"uuid":"66158574","full_name":"lib16/graphics-java","owner":"lib16","description":null,"archived":false,"fork":false,"pushed_at":"2016-09-16T16:06:08.000Z","size":32,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-07T16:47:53.336Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lib16.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":"2016-08-20T17:12:04.000Z","updated_at":"2021-01-16T17:30:45.000Z","dependencies_parsed_at":"2022-09-07T15:40:23.868Z","dependency_job_id":null,"html_url":"https://github.com/lib16/graphics-java","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/lib16/graphics-java","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lib16%2Fgraphics-java","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lib16%2Fgraphics-java/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lib16%2Fgraphics-java/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lib16%2Fgraphics-java/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lib16","download_url":"https://codeload.github.com/lib16/graphics-java/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lib16%2Fgraphics-java/sbom","scorecard":{"id":587764,"data":{"date":"2025-08-11","repo":{"name":"github.com/lib16/graphics-java","commit":"10e6b291223f87b16993069a3a0bb8c55036d3b9"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Code-Review","score":0,"reason":"Found 0/5 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-20T21:02:20.876Z","repository_id":57726138,"created_at":"2025-08-20T21:02:20.876Z","updated_at":"2025-08-20T21:02:20.876Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28408824,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T01:52:23.358Z","status":"online","status_checked_at":"2026-01-14T02:00:06.678Z","response_time":107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2026-01-14T03:15:52.953Z","updated_at":"2026-01-14T03:15:53.545Z","avatar_url":"https://github.com/lib16.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lib16 graphics for Java 8\n\n## Dependency Information\n\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003ecom.lib16\u003c/groupId\u003e\n    \u003cartifactId\u003egraphics\u003c/artifactId\u003e\n    \u003cversion\u003e1.1\u003c/version\u003e\n\u003c/dependency\u003e\n```\nSee also http://search.maven.org/#artifactdetails|com.lib16|graphics|1.1|jar\n\n## Basic example\n```java\npackage com.lib16.java.example.graphics.colors;\n\nimport com.lib16.java.arrays.Arrays;\nimport com.lib16.java.graphics.geometry.Angle;\nimport com.lib16.java.graphics.geometry.Path;\nimport com.lib16.java.graphics.geometry.Point;\nimport com.lib16.java.graphics.geometry.Points;\n\nimport javafx.application.Application;\nimport javafx.geometry.Insets;\nimport javafx.scene.Group;\nimport javafx.scene.Scene;\nimport javafx.scene.layout.HBox;\nimport javafx.scene.paint.Paint;\nimport javafx.scene.shape.SVGPath;\nimport javafx.stage.Stage;\n\npublic class GraphicsReadmeDemo extends Application\n{\n\t@Override\n\tpublic void start(Stage primaryStage) throws Exception\n\t{\n\t\tPoint center1 = new Point(100, 150);\n\t\tPoint center2 = new Point(80, 290);\n\t\tPoint center3 = new Point(210, 290);\n\t\tPoint[] star = Points.star(center3, 7, 40, 40 * Points.STAR_RADIUS_7_3);\n\t\tPoint[] rect = Points.rectangle(center3.copy().translate(-50, -52), 100, 100);\n\t\tPoints.skewX(center3, Angle.byDegrees(-30), star, rect);\n\t\tArrays.reverse(star);\n\t\tPath path = new Path()\n\t\t\t\t.star(new Point(50, 50), 5, 40, 40 * Points.STAR_RADIUS_5_2)\n\t\t\t\t.star(new Point(150, 50), 8, 40 * Points.STAR_RADIUS_8_3, 40)\n\t\t\t\t.star(new Point(250, 50), 6, 30, 40, 40)\n\t\t\t\t.star(center1, 6, 70)\n\t\t\t\t.ccw()\n\t\t\t\t.ellipse(center1, 60, 20, Angle.byDegrees(30))\n\t\t\t\t.ellipse(center1, 60, 20, Angle.byDegrees(90))\n\t\t\t\t.ellipse(center1, 60, 20, Angle.byDegrees(150))\n\t\t\t\t.cw()\n\t\t\t\t.rectangle(new Point(170, 95), 110, 110)\n\t\t\t\t.ccw().roundedRectangle(new Point(175, 100), 100, 100, 20).cw()\n\t\t\t\t.circle(new Point(225, 150), 45)\n\t\t\t\t.sector(center2, Angle.byDegrees(30), Angle.byDegrees(175), 50)\n\t\t\t\t.sector(center2, Angle.byDegrees(290), Angle.byDegrees(325), 50)\n\t\t\t\t.ringSector(center2, Angle.byDegrees(175), Angle.byDegrees(275), 60, 50)\n\t\t\t\t.polygon(rect)\n\t\t\t\t.polygon(star);\n\n\t\tPaint color = Paint.valueOf(\"#26ac\");\n\t\tSVGPath svg = new SVGPath();\n\t\tsvg.setFill(color);\n\t\tsvg.setStroke(Paint.valueOf(\"#fff\"));\n\t\tsvg.setContent(path.toSvg());\n\n\t\tHBox box = new HBox();\n\t\tHBox.setMargin(svg, new Insets(20));;\n\t\tbox.getChildren().add(svg);\n\t\tGroup root = new Group();\n\t\troot.getChildren().add(box);\n\t\tScene scene = new Scene(root);\n\t\tscene.setFill(color);\n\t\tprimaryStage.setTitle(\"Graphics Demo\");\n\t\tprimaryStage.setScene(scene);\n\t\tprimaryStage.sizeToScene();\n\t\tprimaryStage.show();\n\t}\n\n\tpublic static void main(String[] args) {\n\t\tApplication.launch(args);\n\t}\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flib16%2Fgraphics-java","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flib16%2Fgraphics-java","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flib16%2Fgraphics-java/lists"}