{"id":13676060,"url":"https://github.com/fdivitto/FabGL","last_synced_at":"2025-04-29T03:30:39.390Z","repository":{"id":37459169,"uuid":"169951787","full_name":"fdivitto/FabGL","owner":"fdivitto","description":"ESP32 Display Controller (VGA, PAL/NTSC Color Composite, SSD1306, ST7789, ILI9341), PS/2 Mouse and Keyboard Controller, Graphics Library, Sound Engine, Game Engine and ANSI/VT Terminal","archived":false,"fork":false,"pushed_at":"2025-02-27T08:49:40.000Z","size":93103,"stargazers_count":1549,"open_issues_count":78,"forks_count":227,"subscribers_count":70,"default_branch":"master","last_synced_at":"2025-04-13T01:59:58.110Z","etag":null,"topics":["audio","audio-engine","composite","emulator","esp32","fabgl","game-engine","graphics-engine","graphics-library","gui","keyboard","mouse","ntsc","pal","ps2","sound","terminal","vga","vt100","widget-library"],"latest_commit_sha":null,"homepage":"http://www.fabglib.org","language":"C++","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/fdivitto.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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},"funding":{"github":"fdivitto","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2019-02-10T06:59:54.000Z","updated_at":"2025-04-10T01:41:15.000Z","dependencies_parsed_at":"2024-09-22T16:01:24.789Z","dependency_job_id":"855093e7-ef9b-4be0-8bb3-de48f95b64d7","html_url":"https://github.com/fdivitto/FabGL","commit_stats":{"total_commits":1562,"total_committers":1,"mean_commits":1562.0,"dds":0.0,"last_synced_commit":"01bfa54b2bc78b682d0c08822e997f3853a8ac2d"},"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fdivitto%2FFabGL","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fdivitto%2FFabGL/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fdivitto%2FFabGL/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fdivitto%2FFabGL/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fdivitto","download_url":"https://codeload.github.com/fdivitto/FabGL/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251426701,"owners_count":21587634,"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":["audio","audio-engine","composite","emulator","esp32","fabgl","game-engine","graphics-engine","graphics-library","gui","keyboard","mouse","ntsc","pal","ps2","sound","terminal","vga","vt100","widget-library"],"created_at":"2024-08-02T13:00:17.523Z","updated_at":"2025-04-29T03:30:34.379Z","avatar_url":"https://github.com/fdivitto.png","language":"C++","funding_links":["https://github.com/sponsors/fdivitto"],"categories":["By Industry","Uncategorized","C++","By Language"],"sub_categories":["Tools \u0026 Utilities","Uncategorized","C++"],"readme":"# FabGL\n### **ESP32** Display Controller (VGA, Color NTSC/PAL Composite, I2C and SPI displays), PS/2 Mouse and Keyboard Controller, Graphics Library, Sound Engine, Graphical User Interface (GUI), Game/Emulation Engine and ANSI/VT Terminal\n\n**[Please look here for full API documentation](http://www.fabglib.org)**\n\n**[See also my youtube channel where you can find demos and tutorials](https://www.youtube.com/user/fdivitto/videos)**\n\n\nYou may support development by purchasing the [ESP32-SBC-FabGL](https://www.olimex.com/Products/Retro-Computers/ESP32-SBC-FabGL/open-source-hardware) Olimex board.\n\n=================================================================================\n\nLicense terms:\n\nCreated by Fabrizio Di Vittorio (fdivitto2013@gmail.com) - \u003chttp://www.fabgl.com\u003e\n\nCopyright (c) 2019-2022 Fabrizio Di Vittorio.\n\nAll rights reserved.\n\nThis library and related software is available under GPL v3.\n\nPlease contact fdivitto2013@gmail.com if you need a commercial license.\n\n**Please don't remove copyright and/or original author from FabGL examples (ie from screens, dialogs, etc..), even from derived works which use examples as base.**\n\n=================================================================================\n\n\nFabGL is mainly a Graphics Library for ESP32. It implements several display drivers (VGA output, PAL/NTSC Color Composite, I2C and SPI displays).\nFabGL can also get input from a PS/2 Keyboard and a Mouse. FabGL implements also: an Audio Engine (DAC and Sigma-Delta), a Graphical User Interface (GUI), a Game Engine and an ANSI/VT Terminal.\n\nThis library works with ESP32 revision 1 or upper. See [**Compatible Boards**][Boards].\n\nVGA output requires a external digital to analog converter (DAC): it can be done by three 270 Ohm resistors to have 8 colors, or by 6 resistors to have 64 colors.\nComposite output doesn't require external components (maybe a 5Mhz low pass filter).\n\nThere are several fixed and variable width fonts embedded.\n\nUnlimited number of sprites are supported. However big sprites and a large amount of them reduces the frame rate and could generate flickering.\n\nWhen there is enough memory (on low resolutions like 320x200), it is possible to allocate two screen buffers, so to implement double buffering.\nIn this case primitives are always drawn on the back buffer.\n\nExcept for double buffering or when explicitly disabled, all drawings are performed on vertical retracing, so no flickering is visible.\nIf the queue of primitives to draw is not processed before the vertical retracing ends, then it is interrupted and continued at next retracing.\n\nThere is a graphical user interface (GUI) with overlapping windows and mouse handling and a lot of widgets (buttons, editboxes, checkboxes, comboboxes, listboxes, etc..).\n\nFinally, there is a sound engine, with multiple channels mixed to a mono output. Each channel can generate sine waveforms, square, etc... or custom sampled data.\n\n\n\n### Installation Tutorial - fabgl development board (click for video):\n\n[![Everything Is AWESOME](https://img.youtube.com/vi/F2f0_9_TJmM/hqdefault.jpg)](https://www.youtube.com/watch?v=F2f0_9_TJmM \"\")\n\n### Installation Tutorial - TTGO VGA32 (click for video):\n\n[![Everything Is AWESOME](https://img.youtube.com/vi/8OTaPQlSTas/hqdefault.jpg)](https://www.youtube.com/watch?v=8OTaPQlSTas \"\")\n\n### IBM PC Emulator (click for video):\n\n[![Everything Is AWESOME](https://img.youtube.com/vi/3I1U2nEoxIQ/hqdefault.jpg)](https://www.youtube.com/watch?v=3I1U2nEoxIQ \"\")\n\n### Space Invaders Example (click for video):\n\n[![Everything Is AWESOME](https://img.youtube.com/vi/LL8J7tjxeXA/hqdefault.jpg)](https://www.youtube.com/watch?v=LL8J7tjxeXA \"\")\n\n### Dev board connected to TFT ILI9341 240x320, TFT ST7789 240x240 and OLED SSD1306 128x64 (click for video):\n\n[![Everything Is AWESOME](https://img.youtube.com/vi/OCsEqyJ7wu4/hqdefault.jpg)](https://www.youtube.com/watch?v=OCsEqyJ7wu4 \"\")\n\n### Serial Terminal escape sequences for graphics and sound (click for video):\n\n[![Everything Is AWESOME](https://img.youtube.com/vi/1TjPOSc_RaI/hqdefault.jpg)](https://www.youtube.com/watch?v=1TjPOSc_RaI \"\")\n\n### Serial Terminal for MBC2 Z80 Board (click for video):\n\n[![Everything Is AWESOME](https://img.youtube.com/vi/Ww_pH_ZOLqU/hqdefault.jpg)](https://www.youtube.com/watch?v=Ww_pH_ZOLqU \"\")\n\n### Graphical User Interface - GUI (click for video):\n\n[![Everything Is AWESOME](https://img.youtube.com/vi/84ytGdiOih0/hqdefault.jpg)](https://www.youtube.com/watch?v=84ytGdiOih0 \"\")\n\n### Sound Engine (click for video):\n\n[![Everything Is AWESOME](https://img.youtube.com/vi/RQtKFgU7OYI/hqdefault.jpg)](https://www.youtube.com/watch?v=RQtKFgU7OYI \"\")\n\n### Altair 8800 emulator - CP/M text games (click for video):\n\n[![Everything Is AWESOME](https://img.youtube.com/vi/y0opVifEyS8/hqdefault.jpg)](https://www.youtube.com/watch?v=y0opVifEyS8 \"\")\n\n### Commodore VIC20 emulator (click for video):\n\n[![Everything Is AWESOME](https://img.youtube.com/vi/ZW427HVWYys/hqdefault.jpg)](https://www.youtube.com/watch?v=ZW427HVWYys \"\")\n\n### Simple Terminal Out Example (click for video):\n\n[![Everything Is AWESOME](https://img.youtube.com/vi/AmXN0SIRqqU/hqdefault.jpg)](https://www.youtube.com/watch?v=AmXN0SIRqqU \"\")\n\n### Network Terminal Example (click for video):\n\n[![Everything Is AWESOME](https://img.youtube.com/vi/n5c27-y5tm4/hqdefault.jpg)](https://www.youtube.com/watch?v=n5c27-y5tm4 \"\")\n\n### Modeline Studio Example (click for video):\n\n[![Everything Is AWESOME](https://img.youtube.com/vi/Urp0rPukjzE/hqdefault.jpg)](https://www.youtube.com/watch?v=Urp0rPukjzE \"\")\n\n### Loopback Terminal Example (click for video):\n\n[![Everything Is AWESOME](https://img.youtube.com/vi/hQhU5hgWdcU/hqdefault.jpg)](https://www.youtube.com/watch?v=hQhU5hgWdcU \"\")\n\n### Double Buffering Example (click for video):\n\n[![Everything Is AWESOME](https://img.youtube.com/vi/TRQcIiWQCJw/hqdefault.jpg)](https://www.youtube.com/watch?v=TRQcIiWQCJw \"\")\n\n### Collision Detection Example (click for video):\n\n[![Everything Is AWESOME](https://img.youtube.com/vi/q3OPSq4HhDE/hqdefault.jpg)](https://www.youtube.com/watch?v=q3OPSq4HhDE \"\")\n\n### Multitasking CP/M Plus Example (click for video):\n\n[![Everything Is AWESOME](https://img.youtube.com/vi/3UevsxMQZ5w/hqdefault.jpg)](https://www.youtube.com/watch?v=3UevsxMQZ5w \"\")\n\n\n\n\n[Donations]: https://github.com/fdivitto/FabGL/wiki/Donations\n[Boards]: https://github.com/fdivitto/FabGL/wiki/Boards\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffdivitto%2FFabGL","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffdivitto%2FFabGL","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffdivitto%2FFabGL/lists"}