{"id":27400868,"url":"https://github.com/butanium/crosscoder-loss-animation","last_synced_at":"2026-02-28T06:18:45.836Z","repository":{"id":277766275,"uuid":"924439609","full_name":"Butanium/crosscoder-loss-animation","owner":"Butanium","description":null,"archived":false,"fork":false,"pushed_at":"2025-04-07T23:31:25.000Z","size":8008,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-14T04:37:37.901Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/Butanium.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,"zenodo":null}},"created_at":"2025-01-30T02:08:29.000Z","updated_at":"2025-05-26T20:54:45.000Z","dependencies_parsed_at":"2025-04-14T03:44:08.638Z","dependency_job_id":"677cd903-23d9-4f3a-b16f-c89a5cabd150","html_url":"https://github.com/Butanium/crosscoder-loss-animation","commit_stats":null,"previous_names":["butanium/crosscoder-loss-animation"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Butanium/crosscoder-loss-animation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Butanium%2Fcrosscoder-loss-animation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Butanium%2Fcrosscoder-loss-animation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Butanium%2Fcrosscoder-loss-animation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Butanium%2Fcrosscoder-loss-animation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Butanium","download_url":"https://codeload.github.com/Butanium/crosscoder-loss-animation/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Butanium%2Fcrosscoder-loss-animation/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29926157,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-27T19:37:42.220Z","status":"online","status_checked_at":"2026-02-28T02:00:07.010Z","response_time":90,"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":"2025-04-14T03:43:38.942Z","updated_at":"2026-02-28T06:18:45.787Z","avatar_url":"https://github.com/Butanium.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gradient Descent on Crosscoder Sparsity Loss Ball Animation\n\nThis project visualizes gradient descent optimization using animated ball trajectories. The animation shows how different balls follow gradient paths to find local minima, created using React and Remotion.\n\n## Features\n\n- Interactive visualization of gradient descent paths\n- Multiple ball trajectories showing different optimization paths\n- Smooth animation using Remotion\n- Visualization using Recharts for the coordinate system\n\n## Demo\n\n![Video](/out/output.gif)\n\n## Prerequisites\n\n- Node.js (latest LTS version recommended)\n- npm or yarn\n\n## Installation\n\n1. Clone the repository:\n```bash\ngit clone https://github.com/Butanium/crosscoder-loss-animation\ncd cc-loss-animation\n```\n\n2. Install dependencies:\n```bash\nnpm install\n```\n\n## Exporting to mp4 from CLI\n\nTo render the animation, use the following command:\n\n```bash\nnpx remotion render src/Video.tsx BallTrajectories out/output.mp4 --concurrency=1\n```\n\nNote: We currently need to use `--concurrency=1` due to crappy cursor-claude code.\n\n\n## Preview and web editor\n\nTo start the web editor:\n\n```bash\nnpx remotion preview src/Video.tsx BallTrajectories \n```\n\nNote that if you want export using the UI, you'll need to go to advanced settings and set the concurrency to 1.\n\n## Technologies Used\n\n- React\n- Remotion\n- Recharts\n- TypeScript\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbutanium%2Fcrosscoder-loss-animation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbutanium%2Fcrosscoder-loss-animation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbutanium%2Fcrosscoder-loss-animation/lists"}