{"id":13507251,"url":"https://github.com/crertel/graphmath","last_synced_at":"2026-02-18T23:32:30.702Z","repository":{"id":23934612,"uuid":"27315866","full_name":"crertel/graphmath","owner":"crertel","description":"An Elixir library for performing 2D and 3D mathematics.","archived":false,"fork":false,"pushed_at":"2024-08-03T08:24:25.000Z","size":2397,"stargazers_count":87,"open_issues_count":1,"forks_count":13,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-10-21T18:49:04.031Z","etag":null,"topics":["elixir","elixir-lang","graphics","hex","matrices","vector"],"latest_commit_sha":null,"homepage":null,"language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/crertel.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2014-11-29T21:39:52.000Z","updated_at":"2025-08-11T05:39:13.000Z","dependencies_parsed_at":"2024-05-01T15:27:32.569Z","dependency_job_id":"c8830979-aa02-4614-af67-d590ed702803","html_url":"https://github.com/crertel/graphmath","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/crertel/graphmath","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crertel%2Fgraphmath","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crertel%2Fgraphmath/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crertel%2Fgraphmath/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crertel%2Fgraphmath/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/crertel","download_url":"https://codeload.github.com/crertel/graphmath/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crertel%2Fgraphmath/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29598246,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-18T22:25:43.180Z","status":"ssl_error","status_checked_at":"2026-02-18T22:25:42.766Z","response_time":162,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["elixir","elixir-lang","graphics","hex","matrices","vector"],"created_at":"2024-08-01T02:00:28.797Z","updated_at":"2026-02-18T23:32:30.670Z","avatar_url":"https://github.com/crertel.png","language":"Elixir","funding_links":[],"categories":["Algorithms and Data structures","Algorithms and Datastructures","Physics"],"sub_categories":[],"readme":"[![CircleCI](https://circleci.com/gh/crertel/graphmath.svg?style=svg)](https://circleci.com/gh/crertel/graphmath)\n[![Inline docs](http://inch-ci.org/github/crertel/graphmath.svg)](http://inch-ci.org/github/crertel/graphmath)\n[![hex.pm version](https://img.shields.io/hexpm/v/graphmath.svg)](https://hex.pm/packages/graphmath)\n[![hex.pm downloads](https://img.shields.io/hexpm/dt/graphmath.svg)](https://hex.pm/packages/graphmath)\n[![Coverage Status](https://coveralls.io/repos/crertel/graphmath/badge.svg?branch=master)](https://coveralls.io/r/crertel/graphmath?branch=master)\n\nWhat is graphmath?\n===================\n\nGraphmath is a library for handling common 2D and 3D operations, usually with an eye towards vector arithmetic for graphics and simulation.\n\nIt's designed to be comfortable to use, reasonably fast, and something which will benefit game developers and graphics programmers, though it may also be useful for robotocists and anyone attempting large-scale simluations which exist in R2 or R3.\n\nFeatures\n========\n\n* Support for vectors in R2 and R3.\n* Support for 3x3 and 4x4 matrices.\n* Support for quaternions\n* Addition, subtraction\n* Element-wise multiplication\n* Scalar multiplication\n* Inner-products (dot product)\n* Cross products\n* Projection\n* Normalization\n* Comparison\n* Rotation\n* Linear interpolation\n* Matrix inversion\n* Tuples are used to represent vectors and matrices (faster than lists or structs)\n\nInstallation\n============\n\nThis package is available from the [hex](https://hex.pm) package manager.\n\nJust add it to your `mix.exs` file like so:\n\n```elixir\n  def project do\n    [app: myapp,\n     version: \"x.y.z\",\n     elixir: \"~\u003e 1.0\",\n     description: \"description\",\n     package: ...,\n     deps: [\n        ...,\n        {:graphmath, \"~\u003e 1.0.2\" },\n        ...\n        ] ]\n  end\n```\n\nConventions in library\n======================\n\nAll mathematics are done in a right-handed coordinate system--that is to say, +Z is the cross-product of +X with +Y.\n\nAll operations are accompanied by tests and documentation.\n\nContributing\n============\n\n### Issues\n\n1. Open an issue on Github.\n\n### For developers\n\n1. Fork this project on Github.\n\n2. Open an issue for your proposed changes.\n\n3. Add tests for your new functionality, if applicable.\n\n4. Add documentation for your functionality, if applicable. *NO DOCS -\u003e NO MERGE*.\n\n5. Submit a pull request.\n\n6. Bask in the glory of having helped create content on one of the best platforms ever devised.\n\n### For non-developers\n\n1. Buy me a beer if you see me at ElixirConf.\n\nWishlist\n========\n\n* C/SIMD native extensions (probably want to live in a different, API-compatible library).\n\n* Left-handed coordinate system support (don't care enough right now, but some interop would appreciate it).\n\n* Functions to convert to packed 32-bit and 64-bit float byte arrays.\n\nLicense\n=======\n\nThis project is put into the public domain under the unlicense.\n\nIf you can't use that, consider it under the WTFPL.\n\nIf you can't use *that*, fine--use the new BSD license.\n\nContributors\n=============\n* Chris Ertel\n* Ivan Miranda\n* Matthew Philyaw\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrertel%2Fgraphmath","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcrertel%2Fgraphmath","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrertel%2Fgraphmath/lists"}