Bbgfx
BitBank Graphics Library - optimized primitives for RGB565 surfaces on ARMv5
Install / Use
/learn @bitbank2/BbgfxREADME
*** BBGFX ***
BBGFX is a C/ASM library of graphics primitives primarily targeted at embedded and bare metal environments. The benefit of BBGFX over other graphics libraries is that the functions are written in optimized ARMv5 assembly language. This makes it useful for less capable ARM systems such as the Cortex-M series or Raspberry Pi's using the BCM2835 (ARMv6) CPU. BBGFX contains primitives for working with bitmaps, lines, circles, rectangles and supports operations with transparency and translucency.
Here's the demo code running on a Raspberry Pi Zero and SPI LCD display: https://www.youtube.com/watch?v=8VoxaDIMALA
To build the library, simply type 'make' in the terminal. To build the demo app, type 'make -f make_demo'. This will build the 'bbgfxdemo' executable to show that the library is working. By default, the demo will send output to /dev/fb0. It can also send output to a SPI-connected LCD using my SPI_LCD library. The fb0 device is assumed to be configured for either 32 or 16-bits per pixel.
BBGFX depends on image functions in a limited version of my imaging library called 'mini_pil' - mini portable imaging library. This code is included with this repo.
Copyright (c) 2009-2017 BitBank Software, Inc. Written by Larry Bank bitbank@pobox.com
Related Skills
node-connect
351.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
110.7kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
351.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
351.4kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
