{"id":26054684,"url":"https://github.com/avdaredevil/matrix","last_synced_at":"2026-04-17T16:01:34.055Z","repository":{"id":255116559,"uuid":"848587253","full_name":"avdaredevil/matrix","owner":"avdaredevil","description":"Matrix Animation in your Terminal (cross-platform in PowerShell)","archived":false,"fork":false,"pushed_at":"2025-08-22T10:00:57.000Z","size":53,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-22T11:45:03.922Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PowerShell","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/avdaredevil.png","metadata":{"files":{"readme":"README.md","changelog":null,"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,"zenodo":null}},"created_at":"2024-08-28T03:16:14.000Z","updated_at":"2025-08-22T10:01:00.000Z","dependencies_parsed_at":"2025-04-16T22:33:50.435Z","dependency_job_id":"dae1ab23-dc68-498c-a779-6cdbdb33f4d7","html_url":"https://github.com/avdaredevil/matrix","commit_stats":null,"previous_names":["avdaredevil/matrix"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/avdaredevil/matrix","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avdaredevil%2Fmatrix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avdaredevil%2Fmatrix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avdaredevil%2Fmatrix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avdaredevil%2Fmatrix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/avdaredevil","download_url":"https://codeload.github.com/avdaredevil/matrix/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avdaredevil%2Fmatrix/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31935697,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-17T12:37:54.787Z","status":"ssl_error","status_checked_at":"2026-04-17T12:37:25.095Z","response_time":62,"last_error":"SSL_read: 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-03-08T09:12:59.538Z","updated_at":"2026-04-17T16:01:34.049Z","avatar_url":"https://github.com/avdaredevil.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pwsh Matrix Animation\n\nMatrix Animation in your Terminal (cross-platform in PowerShell). With lots of rendering options below!\n\n## Demo\n\n\u003ctable\u003e\n  \u003cthead\u003e\n    \u003cth\u003eMatrix in Unix Renderer (WinTerm)\u003c/th\u003e\n    \u003cth\u003eMatrix in Windows Renderer (WinTerm)\u003c/th\u003e\n  \u003c/thead\u003e\n  \u003ctbody\u003e\n    \u003ctr\u003e\n      \u003ctd\u003e\u003cimg alt=\"Matrix in Unix Renderer (WinTerm)\" src=\"https://github.com/user-attachments/assets/ca0086ca-4406-436b-97d2-8e7acd31e911\"\u003e\u003c/td\u003e\n      \u003ctd\u003e\u003cimg alt=\"Matrix in Windows Renderer (WinTerm)\" src=\"https://github.com/user-attachments/assets/38b35d4e-8e69-4e70-a631-3df72a97917d\"\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003cth colspan=\"2\" align=\"center\"\u003e\u003ch4\u003eRetro Effect in WinTerm\u003c/h4\u003e\u003c/th\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd colspan=\"2\" align=\"center\"\u003e\u003cimg width=\"500px\" alt=\"Retro Effect in WinTerm\" src=\"https://github.com/user-attachments/assets/03e6b645-3f24-42fc-8472-81872f8c5ff9\"\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n  \u003c/tbody\u003e\n\u003c/table\u003e\n\n\u003c!-- \u003cimg width=\"767\" alt=\"Screenshot 2024-08-27 at 8 18 08 PM\" src=\"https://github.com/user-attachments/assets/9242e402-442a-4a8b-98d9-5550c1b1c854\"\u003e --\u003e\n\n_**Note:** Iterm2 is perfectly supported! This entire file is cross-platform!_\n\n## Features\n\nWritten to be quite flexible, featuring:\n- Cross-platform rendering systems (Switchable with `-Renderer [Windows, Unix]`)\n  - Windows mode: Uses PowerShell's native console manipulation capabilities through `System.Management.Automation.Host` namespace. It utilizes `Place-BufferedContent` for precise character placement and supports Windows console color schemes.\n  - Unix mode: Employs ANSI escape sequences for text positioning and coloring, providing compatibility with a wide range of Unix-based terminals. This mode offers more fine-grained color control, enabling smoother color transitions and a more vibrant \"glow\" effect for the leading characters.\n- Adjustable sparsity of the matrix effect with `-Sparsity`\n- Customizable animation speed with `-SleepTime`\n- Option to use special characters for a **more authentic Matrix look** with `-SpecialChars` (works best with Unicode-compatible terminals)\n- Debug mode for troubleshooting with `-Debug`\n- Dynamic resizing to fit the terminal window\n\n## Requirements\n\n- PowerShell 5.1 or later (PowerShell Core 6.0+ recommended for cross-platform use)\n\n## Usage\n\nRun the script using PowerShell:\n\n```powershell\nMatrix.ps1 [[-Sparsity] \u003cdouble\u003e] [[-SleepTime] \u003cint\u003e] [[-Renderer] \u003cstring\u003e] [-SpecialChars] [-Debug]\n```\n\n### Parameters\n- `-Sparsity`: Density of the matrix effect (range: 0.0001 to 1, default: 0.1)\n- `-SleepTime`: Animation speed in milliseconds (default: 50)\n- `-Renderer`: Choose between \"Windows\" or \"Unix\" rendering (default: \"Unix\")\n- `-SpecialChars`: Use special characters for a more authentic Matrix look\n- `-Debug`: Enable debug mode for troubleshooting\n\n### Examples\n\n1. Run with default settings:\n   ```powershell\n   .\\Matrix.ps1\n   ```\n\n2. Full feature demo:\n   ```powershell\n   .\\Matrix.ps1 -SpecialChars -Sparsity 1 -Renderer Unix\n   ```\n\n3. Use Windows on old terminals (like `conhost`, `cmd`)\n   ```powershell\n   .\\Matrix.ps1 -SleepTime 20 -Renderer Windows\n   ```\n\n### In case you've never setup powershell\n- Run this: `Set-ExecutionPolicy -Scope CurrentUser RemoteSigned` (Allows you to run powershell scripts)\n- Cd to the path where you cloned this project\n- Run `./Matrix.ps1`\n\n## How It Works\nThe script creates a matrix-like animation by:\n1. Generating random characters (including optional special characters)\n2. Creating vertical lines of these characters\n3. Animating the lines to fall down the screen\n4. Adjusting colors to create a glowing effect\n\nThe animation adapts to the terminal window size and can handle window resizing.\n\n## Known Issues\n- Performance may vary depending on terminal and system specifications\n- Some terminals may not support all color features\n\n## License\n[MIT License](LICENSE)\n\n## Acknowledgements\nInspired by the iconic digital rain effect from \"The Matrix\" film series.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favdaredevil%2Fmatrix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Favdaredevil%2Fmatrix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favdaredevil%2Fmatrix/lists"}