Git Product home page Git Product logo

citro2d's Introduction

citro2d

( ͡° ͜ʖ ͡°)

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.

Features:

  • 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

citro2d's People

Contributors

fincs avatar piepie62 avatar wintermute avatar bubblechien avatar cam-2002 avatar nyankotear avatar fewnity avatar turtlep avatar mtheall avatar oreo639 avatar raxoft avatar saya-rbt avatar swiftloke avatar liquidfenrir avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.