{"id":47811761,"url":"https://github.com/applejag/firefly-go-math","last_synced_at":"2026-04-03T18:13:41.724Z","repository":{"id":334390869,"uuid":"1141195740","full_name":"applejag/firefly-go-math","owner":"applejag","description":"Go game math library for Firefly Zero","archived":false,"fork":false,"pushed_at":"2026-03-15T11:37:39.000Z","size":47,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-16T00:17:30.500Z","etag":null,"topics":["firefly-zero","gamedev","go","golang","sdk"],"latest_commit_sha":null,"homepage":"","language":"Go","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/applejag.png","metadata":{"files":{"readme":"README.md","changelog":null,"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,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-01-24T12:32:21.000Z","updated_at":"2026-03-15T11:35:56.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/applejag/firefly-go-math","commit_stats":null,"previous_names":["applejag/firefly-go-math"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/applejag/firefly-go-math","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/applejag%2Ffirefly-go-math","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/applejag%2Ffirefly-go-math/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/applejag%2Ffirefly-go-math/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/applejag%2Ffirefly-go-math/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/applejag","download_url":"https://codeload.github.com/applejag/firefly-go-math/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/applejag%2Ffirefly-go-math/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31368162,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-03T17:53:18.093Z","status":"ssl_error","status_checked_at":"2026-04-03T17:53:17.617Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["firefly-zero","gamedev","go","golang","sdk"],"created_at":"2026-04-03T18:13:41.112Z","updated_at":"2026-04-03T18:13:41.713Z","avatar_url":"https://github.com/applejag.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!--\nSPDX-FileCopyrightText: 2026 Kalle Fagerberg\n\nSPDX-License-Identifier: CC-BY-4.0\n--\u003e\n\n# Game math library for Firefly Go SDK\n\n[![NO AI](https://raw.githubusercontent.com/nuxy/no-ai-badge/master/badge.svg)](https://github.com/nuxy/no-ai-badge)\n[![Go Reference](https://pkg.go.dev/badge/github.com/applejag/firefly-go-math.svg)](https://pkg.go.dev/github.com/applejag/firefly-go-math)\n[![REUSE status](https://api.reuse.software/badge/github.com/applejag/firefly-go-math)](https://api.reuse.software/info/github.com/applejag/firefly-go-math)\n\nComplementary library to [firefly-go](https://github.com/firefly-zero/firefly-go)\nand [tinymath](https://github.com/orsinium-labs/tinymath)\ncontaining math utilities not found in the other packages.\n\nContains tools like `ffrand`, a reimplementation of the Go [`math/rand`](https://pkg.go.dev/math/rand)\nthat is built upon the [`firefly.GetRandom()`](https://pkg.go.dev/github.com/firefly-zero/firefly-go/firefly#GetRandom)\nfunction instead.\n\nThe `ffmath` package contains utility functions, and are using generics\nextensively. Mostly as an experiment on generics usage, and because it's fun :)\nI have compared the compiled output with non-generic variants to confirm\nthat the generic ones does not cause any regressions, even though they use\nquirky hacks like `switch x := any(a).(type)`\n\n## Installation\n\n```bash\ngo get github.com/applejag/firefly-go-math\n```\n\n## License\n\nThis project conforms to the [REUSE](https://reuse.software/) standard.\nDifferent parts of the code base use different licenses.\n\nIn general:\n\n- Code: [MIT](./LICENSES/MIT.txt)\n- Config files (e.g `go.mod`): [CC0-1.0](./LICENSES/CC0-1.0.txt)\n- Docs: [CC-BY-4.0](./LICENSES/CC-BY-4.0.txt)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapplejag%2Ffirefly-go-math","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapplejag%2Ffirefly-go-math","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapplejag%2Ffirefly-go-math/lists"}