{"id":28534545,"url":"https://github.com/weavejester/euclidean","last_synced_at":"2026-03-06T07:32:34.474Z","repository":{"id":9613969,"uuid":"11539174","full_name":"weavejester/euclidean","owner":"weavejester","description":"Fast, immutable math for 3D geometries in Clojure","archived":false,"fork":false,"pushed_at":"2021-12-25T15:23:42.000Z","size":518,"stargazers_count":53,"open_issues_count":3,"forks_count":7,"subscribers_count":3,"default_branch":"master","last_synced_at":"2026-02-09T00:35:32.946Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/weavejester.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-07-19T23:33:06.000Z","updated_at":"2024-11-13T03:15:44.000Z","dependencies_parsed_at":"2022-08-28T01:40:26.089Z","dependency_job_id":null,"html_url":"https://github.com/weavejester/euclidean","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/weavejester/euclidean","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weavejester%2Feuclidean","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weavejester%2Feuclidean/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weavejester%2Feuclidean/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weavejester%2Feuclidean/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/weavejester","download_url":"https://codeload.github.com/weavejester/euclidean/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weavejester%2Feuclidean/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30165631,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T04:43:31.446Z","status":"ssl_error","status_checked_at":"2026-03-06T04:40:30.133Z","response_time":250,"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":[],"created_at":"2025-06-09T17:11:50.929Z","updated_at":"2026-03-06T07:32:34.381Z","avatar_url":"https://github.com/weavejester.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Euclidean\n\n[![Build Status](https://travis-ci.org/weavejester/euclidean.png?branch=master)](https://travis-ci.org/weavejester/euclidean)\n\nA Clojure library for performing calculations suitable for 3D games\nusing fast, immutable data structures.\n\nEuclidean is written in pure Clojure, but has performance comparable\nto vector libraries written in Java, such as [Vectorz][1].\n\n[1]: https://github.com/mikera/vectorz-clj\n\n## Installation\n\nAdd the following dependency to your `project.clj` file:\n\n    [euclidean \"0.2.0\"]\n\n## Usage\n\nEuclidean provides two namespaces, one for constructing vectors, the\nother for [quaternions][2]:\n\n```clojure\n(require '[euclidean.math.vector :as v])\n(require '[euclidean.math.quaternion :as q])\n```\n\n[2]: https://en.wikipedia.org/wiki/Quaternion\n\nThe library includes data readers for 2D and 3D vectors, and 4D\nquaternions:\n\n```clojure\n#math/vector [1 2]          ;; 2D vector\n#math/vector [1 2 3]        ;; 3D vector\n#math/quaternion [0 0 0 1]  ;; Quaternion\n```\n\nBut you can also create data structures through various contructor\nfunctions:\n\n```clojure\n(v/vector 1 2)\n(v/vector 1 2 3)\n(v/into-vector [1 2])\n(v/into-vector [1 2 3])\n\n(q/quaternion 0 0 0 1)\n(q/into-quaternion [0 0 0 1])\n```\n\nThese data structures implement standard Clojure interfaces, so you\ncan use functions like `get`, `count` and `seq` on them:\n\n```clojure\n(def v (v/vector 1 2 3))\n\n(get v 0)            ;; =\u003e 1.0\n(v 1)                ;; =\u003e 2.0\n(count v)            ;; =\u003e 3\n(seq v)              ;; =\u003e (1.0 2.0 3.0)\n(= v [1.0 2.0 3.0])  ;; =\u003e true\n```\n\nNote how the numbers in the vector are stored as doubles. This is for\nperformance purposes.\n\nEuclidean provides a number of additional functions for manipulating\nand creating vectors and quaternions. For a full list, see the API\ndocumentation linked below.\n\n## Documentation\n\n* [API Docs](http://weavejester.github.io/euclidean/)\n\n## License\n\nCopyright © 2013 James Reeves\n\nDistributed under the Eclipse Public License, the same as Clojure.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweavejester%2Feuclidean","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fweavejester%2Feuclidean","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweavejester%2Feuclidean/lists"}