{"id":23692386,"url":"https://github.com/cristian-5/tinymat","last_synced_at":"2026-01-21T01:01:56.281Z","repository":{"id":251789238,"uuid":"838445835","full_name":"cristian-5/tinymat","owner":"cristian-5","description":"code golfing platform","archived":false,"fork":false,"pushed_at":"2024-08-13T13:36:43.000Z","size":35,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-07T04:37:20.082Z","etag":null,"topics":["codegolf"],"latest_commit_sha":null,"homepage":"https://cristian-5.github.io/tinymat/","language":"JavaScript","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/cristian-5.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-05T16:50:35.000Z","updated_at":"2025-02-22T20:56:23.000Z","dependencies_parsed_at":"2024-08-13T16:26:10.779Z","dependency_job_id":"d428b096-e6de-432e-b045-9fdaf229be77","html_url":"https://github.com/cristian-5/tinymat","commit_stats":null,"previous_names":["cristian-5/tinymat"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cristian-5/tinymat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cristian-5%2Ftinymat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cristian-5%2Ftinymat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cristian-5%2Ftinymat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cristian-5%2Ftinymat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cristian-5","download_url":"https://codeload.github.com/cristian-5/tinymat/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cristian-5%2Ftinymat/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28620572,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T23:49:58.628Z","status":"ssl_error","status_checked_at":"2026-01-20T23:47:29.996Z","response_time":117,"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":["codegolf"],"created_at":"2024-12-30T03:27:22.028Z","updated_at":"2026-01-21T01:01:56.173Z","avatar_url":"https://github.com/cristian-5.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# ⚪️ tinymat\n\nA tiny ⛳️ code golfing matrix platform made with ❤️ and dedication.\n\n\u003e 🌈 **Ab_se the sh\\*t out of js syntax and make your trip come to life!**\n\n### parameters\n\nThe parameters can be used in any order and combination.\\\nInvalid parameter names will evaluate to `0`.\n\n- `n`: index number of the bubble being rendered.\n- `t`: current time in seconds.\n- `s`: start time in seconds.\n- `d`: current date timestamp in seconds.\n- `j`, `i`: for the screen indices of the bubble in the matrix.\n- `x`, `y`: for cartesian coordinates between `-0.5` and `+0.5`.\n- `u`, `v`: for the cartesian 3rd quadrant coordinates, between `0` and `1`.\n- `r`, `p`: for the polar coordinates centered.\n\n### return value\n\n- `[grayscale]`: grayscale value between `0` and `1`.\n- `[grayscale, size]`: grayscale value and size between `0` and `1`.\n- `[r, g, b]`: color values between `0` and `1`.\n- `[r, g, b, size]`: color values and size between `0` and `1`.\n\n### functions\n\nJavaScript math functions can be used in the code without the `Math.` prefix,\nand most of them also accept arrays or variadic arguments.\nThe `^` operator now serves as the power operator, while `$` is promoted to xor.\nIn addition to that, we added the following functions: `norm`, `mix`, `noise`,\n`clamp`, `step`, `smooth`, `deg`, `rad`.\n\n### tiny examples\n\n```js\n(j,i,t)=\u003e[cos(i*t),sin(j*t),1,sin(t)]\n```\n\n```js\n(x,y,t)=\u003enorm(x,y,0,t)\n```\n\n```js\n(j,i,t)=\u003e[cos(t*j)-sin(i*t),sin(t)]\n```\n\n```js\n(u,v,t)=\u003e[cotan(u+v*t,u^v,v*u*t),sqrt(tan(t*u*v))]\n```\n\n```js\n(r,p,t)=\u003e[sqrt(norm(2*t)),sin(t*r),r,norm(r**norm(t)*(1+sqrt(norm(2*t))))]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcristian-5%2Ftinymat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcristian-5%2Ftinymat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcristian-5%2Ftinymat/lists"}