Top "2d" questions

2D computer graphics is the computer-based generation of digital images—mostly from two-dimensional models.

Android: looking for a drawArc() method with inner & outer radius

I have the following custom view: This I have achieved by using the Canvas' drawArc() method. However, with this drawArc() …

android 2d draw geometric-arc
Graphic Libraries for 2D (No XNA please)

Since Microsoft are dropping XNA (and yes, I know that one can still use it quite successfully, but the fact …

c# graphics 2d
Java collision detection between two Shape objects?

I would like to know the best way to tell if a Shape object intersects another shape. Currently I have …

java 2d collision shape intersection
2D game programming tutorials in C#

I want to learn about programming 2D games in C#. What are the best tutorials that are beginner oriented, written …

c# .net 2d
How do i tint an image with HTML5 Canvas?

My question is, what is the best way to tint an image that is drawn using the drawImage method. The …

html canvas 2d
Is there an efficient algorithm to generate a 2D concave hull?

Having a set of (2D) points from a GIS file (a city map), I need to generate the polygon that …

algorithm geometry 2d gis concave-hull
Closest point to a given point

I have a set K of randomly selected pixels in a 2D image. For every other pixel in the image …

algorithm 2d points
Converting 3D position to 2d screen position [r69!]

I need Three.js code to convert 3D object coordinates to 2d ones in a 'div' element so that I …

3d three.js 2d coordinates
Algorithm for finding nearest object on 2D grid

Say you have a 2D grid with each spot on the grid having x number of objects (with x >=0). …

algorithm 2d multidimensional-array coordinate-systems
How can I convert 3D space coordinates to 2D space coordinates?

I'm using a Lua API. I'm trying to transform 3D space coordinates to 2D space coordinates. I've asked google but …

vector 3d 2d transform space