{"id":16239793,"url":"https://github.com/nopnop2002/raspberry-mgrx","last_synced_at":"2026-03-05T23:36:39.275Z","repository":{"id":108987993,"uuid":"90124106","full_name":"nopnop2002/Raspberry-mgrx","owner":"nopnop2002","description":"2D graphics library for FrameBuffer","archived":false,"fork":false,"pushed_at":"2023-04-26T07:57:38.000Z","size":1766,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-19T05:28:48.725Z","etag":null,"topics":["framebuffer","graphics","oranegpi","raspberypi"],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nopnop2002.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"copying","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":"2017-05-03T08:06:08.000Z","updated_at":"2023-04-26T07:54:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"36757f97-db62-4961-93b9-56c1962a73b0","html_url":"https://github.com/nopnop2002/Raspberry-mgrx","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/nopnop2002%2FRaspberry-mgrx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nopnop2002%2FRaspberry-mgrx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nopnop2002%2FRaspberry-mgrx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nopnop2002%2FRaspberry-mgrx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nopnop2002","download_url":"https://codeload.github.com/nopnop2002/Raspberry-mgrx/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247018620,"owners_count":20870037,"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":["framebuffer","graphics","oranegpi","raspberypi"],"created_at":"2024-10-10T13:45:11.472Z","updated_at":"2026-03-05T23:36:34.188Z","avatar_url":"https://github.com/nopnop2002.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Raspberry-mgrx\n2D graphics library for FrameBuffer\n\nMGRX is a 2D graphics library derived from the GRX library.   \nGRX was originaly written by Csaba Biegl.   \n\u003chttp://grx.gnu.de/\u003e   \nMGRX was originaly written by M.Alvarez.   \n\u003chttp://www.fgrim.com/mgrx/\u003e   \n\nThis was transplanted for RaspberryPi \u0026 OrangePi.   \nI tested by the following environment.   \nRaspberry Pi + ILI9341 SPI TFT.    \nOrangePi PC + ILI9325 Parallel TFT.   \n\n---\n\n# Install\n```\nsudo apt-get install libjpeg-dev libpng-dev\ngit clone https://github.com/nopnop2002/Raspberry-mgrx\ncd Raspberry-mgrx\nmake -f makefile.lnx libs\nsudo make -f makefile.lnx install\nmake -f makefile.lnx test\n```\n\n---\n\n# Demonstration\n```\n$ export MGRXDRV=\"linuxfb gw \u003cwidth\u003e gh \u003cheight\u003e nc \u003ccolors\u003e\"\n\u003cwidth\u003e is width of FrameBuffer.\n\u003cheight\u003e is height of FrameBuffer.\nValues for nc can be 2, 16, 256, 64K or 16M.\n\nYou can get these by the following command.\n$ fbset -i -fb \u003cdevice of framebuffer\u003e\n\n$ export FRAMEBUFFER=\u003cdevice of framebuffer\u003e\n```\n\nIf you have 320x240 TFT module like ILI9341, it'll be as follows.\n- for Raspberry Pi   \n```\n$ export MGRXDRV=\"linuxfb gw 320 gh 240 nc 64k\"   \n$ export FRAMEBUFFER=/dev/fb1   \n$ cd $HOME/mgrx_rpi/test   \n$ ./demomgrx   \n```\n\n- for Orange Pi PC\n```\n$ export MGRXDRV=\"linuxfb gw 320 gh 240 nc 64k\"   \n$ export FRAMEBUFFER=/dev/fb8   \n$ cd $HOME/mgrx_rpi/test   \n$ ./demomgrx   \n```\n\n---\n\n# Operation\n\nWhen the item is chosen by an arrow key and ENTER is pushed, demonstration starts.   \ndemomgrx is a simple launcher program.   \nIt's possible to start each demonstration program directly by a command line.   \n\n![main1](https://user-images.githubusercontent.com/6020549/234507732-61dbce20-df70-40a7-be90-175ff88a314d.png)   \n![main2](https://user-images.githubusercontent.com/6020549/234507739-ec4e9d01-2f4c-4e3a-abed-bcc233aff741.png)   \n![main3](https://user-images.githubusercontent.com/6020549/234507741-9d380983-1992-4cd4-8aa5-0d94843d781b.png)   \n\n---\n\n# Programmer's manual\n\n\u003chttp://www.fgrim.com/mgrx/mgrx10pm.htm\u003e   \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnopnop2002%2Fraspberry-mgrx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnopnop2002%2Fraspberry-mgrx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnopnop2002%2Fraspberry-mgrx/lists"}