{"id":26654037,"url":"https://github.com/prathamp25/ai-drawing-generator","last_synced_at":"2025-07-29T11:09:13.752Z","repository":{"id":277976085,"uuid":"934108958","full_name":"prathamp25/AI-Drawing-Generator","owner":"prathamp25","description":"A C++ program takes user input to draw either a tree or a smiley face using ASCII art. It defines two functions, `drawTree()` and drawSmiley(), which are called based on the input. If the input is invalid, it displays \"Unknown drawing!\".","archived":false,"fork":false,"pushed_at":"2025-03-24T17:52:51.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-24T18:46:50.148Z","etag":null,"topics":["ascii-art","controlflow","cpp"],"latest_commit_sha":null,"homepage":"","language":"C++","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/prathamp25.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":"2025-02-17T09:40:06.000Z","updated_at":"2025-03-24T17:52:54.000Z","dependencies_parsed_at":"2025-03-24T18:35:59.129Z","dependency_job_id":"ccabc3db-4911-4b68-83fc-ea702d4265f7","html_url":"https://github.com/prathamp25/AI-Drawing-Generator","commit_stats":null,"previous_names":["prathamp25/ai-drawing-generator"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/prathamp25/AI-Drawing-Generator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prathamp25%2FAI-Drawing-Generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prathamp25%2FAI-Drawing-Generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prathamp25%2FAI-Drawing-Generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prathamp25%2FAI-Drawing-Generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/prathamp25","download_url":"https://codeload.github.com/prathamp25/AI-Drawing-Generator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prathamp25%2FAI-Drawing-Generator/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267677260,"owners_count":24126313,"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","status":"online","status_checked_at":"2025-07-29T02:00:12.549Z","response_time":2574,"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":["ascii-art","controlflow","cpp"],"created_at":"2025-03-25T04:56:47.943Z","updated_at":"2025-07-29T11:09:13.719Z","avatar_url":"https://github.com/prathamp25.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AI-Drawing-Generator\nGenerates ASCII art based on user input.\n\nThis C++ program is an interactive ASCII art generator that prompts the user to enter either \"tree\" or \"smiley\" and then prints a corresponding visual representation. \n\nIt defines two functions, `drawTree()` and `drawSmiley()`, which print an ASCII representation of a tree and a smiley face, respectively. In the `main()` function, the program takes user input and calls the appropriate function based on the input. \n\nIf the user enters `\"tree\"`, it displays a small tree, while entering \"smiley\" prints a smiling face. If the input does not match either of these options, the program outputs \"Unknown drawing!\". \n\nThis simple yet engaging program demonstrates basic user input handling, conditional statements, and function usage in C++.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprathamp25%2Fai-drawing-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprathamp25%2Fai-drawing-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprathamp25%2Fai-drawing-generator/lists"}