{"id":17644903,"url":"https://github.com/tusharhero/asciificationpy","last_synced_at":"2025-03-30T07:12:50.019Z","repository":{"id":60138895,"uuid":"538929912","full_name":"tusharhero/asciificationpy","owner":"tusharhero","description":"A project to create graphics using ascii.","archived":false,"fork":false,"pushed_at":"2022-12-16T13:48:25.000Z","size":1303,"stargazers_count":1,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-05T09:16:50.412Z","etag":null,"topics":["ascii-art","graphics","plot","plotting","renderer"],"latest_commit_sha":null,"homepage":"https://tusharhero.xyz/asciificationpy","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tusharhero.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-09-20T10:25:52.000Z","updated_at":"2024-01-12T18:38:31.000Z","dependencies_parsed_at":"2023-01-29T14:00:56.524Z","dependency_job_id":null,"html_url":"https://github.com/tusharhero/asciificationpy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tusharhero%2Fasciificationpy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tusharhero%2Fasciificationpy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tusharhero%2Fasciificationpy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tusharhero%2Fasciificationpy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tusharhero","download_url":"https://codeload.github.com/tusharhero/asciificationpy/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246285816,"owners_count":20752956,"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":["ascii-art","graphics","plot","plotting","renderer"],"created_at":"2024-10-23T10:40:53.109Z","updated_at":"2025-03-30T07:12:49.999Z","avatar_url":"https://github.com/tusharhero.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Asciification\n\nMy attempt to create simple images in ascii.\n\n## asciirenderer\n\nIt uses a simple 2d list to store the characters.\n\n## asciiplotter\n\nUses `asciirenderer` to plot mathematical equations.\n\n[Try `asciiplotter` now!](https://tusharhero.github.io/asciificationpy)\n### some examples\n\n- a parabola\n  \n`code:`\n```py\nimport asciirenderer as asc\nimport asciiplotter as ascp\n\nimage = ascp.plot(\"y == (x)**2\", img= asc.createblankimg(10,10))\n\nasc.printimage(image)\n```\n\n`output:`\n\n```\n⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬜⬛⬛⬛⬜⬛⬛\n⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬜⬛⬜⬛⬛⬛\n⬛⬛⬛⬛⬛⬜⬛⬛⬛⬛\n⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛\n```\n\n- circle\n\n`code:`\n```py\nimport asciiplotter as ascp\nimport asciirenderer as asc\n\nimage = ascp.plot(\"(x)**2 + (y)**2 \u003c= 3.2**2\", img=asc.createblankimg(10, 10))\n\nasc.printimage(image)\n```\n\n`output:`\n\n```\n⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬜⬜⬜⬛⬛⬛\n⬛⬛⬛⬜⬜⬜⬜⬜⬛⬛\n⬛⬛⬜⬜⬜⬜⬜⬜⬜⬛\n⬛⬛⬜⬜⬜⬜⬜⬜⬜⬛\n⬛⬛⬜⬜⬜⬜⬜⬜⬜⬛\n⬛⬛⬛⬜⬜⬜⬜⬜⬛⬛\n⬛⬛⬛⬛⬜⬜⬜⬛⬛⬛\n⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛\n```\n\n- sine function\n \n`code:`\n```py\nimport asciiplotter as ascp\nimport asciirenderer as asc\n\nimage = ascp.plot(\"(y \u003c= 2 * math.sin(x)) and (y \u003e= 2 * math.sin(x) - 2)\", img=asc.createblankimg(10, 10))\n\nasc.printimage(image)\n```\n\n`output`\n\n```\n⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛\n⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛\n⬜⬜⬛⬛⬛⬛⬜⬜⬛⬛\n⬜⬜⬛⬛⬛⬜⬜⬜⬜⬛\n⬛⬛⬜⬛⬛⬜⬛⬛⬜⬛\n⬛⬛⬜⬜⬜⬜⬛⬛⬛⬜\n⬛⬛⬛⬜⬜⬛⬛⬛⬛⬜\n⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftusharhero%2Fasciificationpy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftusharhero%2Fasciificationpy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftusharhero%2Fasciificationpy/lists"}