{"id":20539500,"url":"https://github.com/lestherll/csc1034-p1","last_synced_at":"2025-07-21T04:08:32.217Z","repository":{"id":207483794,"uuid":"410386345","full_name":"lestherll/csc1034-p1","owner":"lestherll","description":"Project 1: Pandas3D for CSC1034 Computer Science Module","archived":false,"fork":false,"pushed_at":"2021-09-25T21:36:12.000Z","size":12938,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-06T04:13:49.838Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lestherll.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2021-09-25T21:32:36.000Z","updated_at":"2021-09-25T21:54:34.000Z","dependencies_parsed_at":"2023-11-16T03:35:05.679Z","dependency_job_id":null,"html_url":"https://github.com/lestherll/csc1034-p1","commit_stats":null,"previous_names":["lestherll/csc1034-p1"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lestherll/csc1034-p1","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lestherll%2Fcsc1034-p1","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lestherll%2Fcsc1034-p1/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lestherll%2Fcsc1034-p1/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lestherll%2Fcsc1034-p1/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lestherll","download_url":"https://codeload.github.com/lestherll/csc1034-p1/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lestherll%2Fcsc1034-p1/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266236987,"owners_count":23897306,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":"2024-11-16T00:52:30.803Z","updated_at":"2025-07-21T04:08:32.200Z","avatar_url":"https://github.com/lestherll.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CSC1034: Practical 1\n\n## Intro\nThis package is built as a part of the CSC1034: Portfolio-1. \nThis programs displays a scene with a panda in its natural habitat.\n\n## Usage\n```shell\npython walking_panda.py [--optional_parameter_1] [optional_value_1] [--optional_parameter_n] [optional_value_n]\n```\nAdding optional parameters or arguments when running the program in CLI is in the form that is shown above. \nNote that arguments will not always have values that must be provided. An example is shown below.\n\n#### Examples\n```shell\npython walking_panda.py --no-rotate\n```\nThe example above allows the program to disable rotation at the start of the program. As you can see, no value was provided.\n\n```shell\npython walking_panda.py --scale 2\n```\nThe example above scales the size of the actor Panda by a factor of 2 or twice. Notice that here, a value was and must be provided.\n\n```shell\npython walking_panda.py --scale 2 --no-rotate\n```\nIt is also possible to have multiple arguments at once. You must, however, be careful since some arguments don't work together. \nFor example, calling `--anti-clockwise` will not have any effect if `--no-rotate` was also passed because the camera is not rotating at all.\n\n### List of Optional Parameters\n#### Camera related\n- `--no-rotate` \nThis disables the camera rotation and sets the camera to default view that I have set when starting the program.\n- `--rot-speed` \nThis controls the rotation speed of the camera.\nPassing negative values will rotate the camera in the other direction.\nThe program will not do anything if `--no-rotate` was passed.\n- `--top-view` \nThis shows the top-view of the panda. This will not work unless `--no-rotate` is passed because the rotation method, `spinCameraTask()` , is currently a **task**.\nThis means that it will get called every frame allowing `setTopView()` to only get called during initialisation/start of program.\nIn other words, `spinCameraTask()` controls the camera view every frame not allowing `setTopView()` to do anything for the rest of the runtime.\n\n#### Size related\n- `--scale x` \nThis scales the size of the panda by **x** factor.\n- `--size x`\nThis overrides the default size(0.005) of the actor panda. \nI have added this only to work with `--scale` since scale works as a multiplier for the actual size passed to pandaActor.setScale().\n\n#### Others\n- `--no-panda`\nThis makes the program to render without the panda.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flestherll%2Fcsc1034-p1","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flestherll%2Fcsc1034-p1","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flestherll%2Fcsc1034-p1/lists"}