Awesome Open Source
Awesome Open Source


( ͡° ͜ʖ ͡°)

Library for drawing 2D graphics using the Nintendo 3DS's PICA200 GPU.

This library contains optimized routines that allow 3DS homebrew developers to develop applications that take full advantage of the GPU to draw 2D graphics. The routines in this library have been carefully designed and optimized for the purpose of removing bottlenecks and allowing higher GPU throughput.

citro2d uses citro3d under the hood to talk to the GPU. It is possible to use citro2d on its own, or use it alongside citro3d to draw mixed 2D and 3D content.


  • Lightweight and straightforward API
  • Full doxygen documentation
  • Drawing on any surface (C3D_RenderTarget)
  • Drawing images and sprites (the latter contain state whereas the former don't)
  • Drawing text using the system font
  • Spritesheet/texture atlas support using tex3ds
  • Scaling, flipping, rotation
  • Drawing untextured triangles and rectangles
  • Per-vertex tinting with configurable blend factor (additive color blending with user specified colors)
  • Flexible and configurable gradients
  • Full-screen fade-out/fade-in transitions (to any color)
  • Concurrent usage of citro2d and citro3d

Alternative Project Comparisons
Related Awesome Lists
Top Programming Languages

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
C (193,862
Gpu (9,490
2d Graphics (9,119
Graphics (8,019
Sprites (4,383
Nintendo (1,982
3ds (1,115
Nintendo 3ds (75
Devkitpro (49
Libctru (11
Citro2d (6
Citro3d (6
Pica200 (3