{"id":29177823,"url":"https://github.com/jaxvanyang/rsap","last_synced_at":"2026-07-17T20:38:40.417Z","repository":{"id":301255775,"uuid":"910744397","full_name":"jaxvanyang/rsap","owner":"jaxvanyang","description":"Inspired by Scratchapixel.","archived":false,"fork":false,"pushed_at":"2026-04-14T12:19:33.000Z","size":295,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-07-17T20:38:38.871Z","etag":null,"topics":["cg","sap","scratchapixel"],"latest_commit_sha":null,"homepage":"https://www.scratchapixel.com","language":"Rust","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/jaxvanyang.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-01-01T09:25:33.000Z","updated_at":"2026-04-14T12:19:37.000Z","dependencies_parsed_at":"2025-06-26T00:19:04.191Z","dependency_job_id":"e091d33d-bd24-4874-b7d1-5f22255a3efc","html_url":"https://github.com/jaxvanyang/rsap","commit_stats":null,"previous_names":["jaxvanyang/rsap"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jaxvanyang/rsap","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaxvanyang%2Frsap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaxvanyang%2Frsap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaxvanyang%2Frsap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaxvanyang%2Frsap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jaxvanyang","download_url":"https://codeload.github.com/jaxvanyang/rsap/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaxvanyang%2Frsap/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35595639,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-17T02:00:06.162Z","response_time":116,"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":["cg","sap","scratchapixel"],"created_at":"2025-07-01T18:08:21.597Z","updated_at":"2026-07-17T20:38:40.400Z","avatar_url":"https://github.com/jaxvanyang.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rust Scratch A Pixel\n\nThis is a project for learning CG in Rust, mostly inspired by [Scratchapixel][sap].\n\n## Applications\n\nTo run an app:\n\n```bash\njust run \u003capp\u003e\n```\n\n### Plot\n\n![Plot](./assets/plot.png)\n\nA utility to plot simple functions.\n\n| Support expressions | |\n|:-|:-|\n| Number | `1`, `2.0`, ... |\n| Factorial | `0!`, `10!`, ... |\n| Variable | `x` |\n| Constant | `e`, `pi` |\n| Operator | `+`, `-`, `*`, `/`, `**` |\n| Function | `sin`, `cos`, `sec`, `csc`, `tan`, `cot`, `arcsin`, `arccos`, `arctan`, `arccot`, `sqrt`, `log`, `ln` |\n\n## References\n\n- [PPM Format Specification](https://netpbm.sourceforge.net/doc/ppm.html)\n- [BNF Notation: Dive Deeper Into Python's Grammar – Real Python](https://realpython.com/python-bnf-notation)\n- [My First Language Frontend with LLVM Tutorial](https://llvm.org/docs/tutorial/MyFirstLanguageFrontend/index.html)\n\n[sap]: https://www.scratchapixel.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaxvanyang%2Frsap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjaxvanyang%2Frsap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaxvanyang%2Frsap/lists"}