Top "2d" questions

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

How do I draw simple graphics in C#?

I just want to draw simple 2D objects like circle, line, square etc in C#. How do I do that? …

c# .net graphics directx 2d
Javascript 2d array indexOf

I have a 2d array like this: var arr = [[2,3],[5,8],[1,1],[0,9],[5,7]]; Each index stores an inner array containing the coordinates of some …

javascript arrays 2d indexof
Allocate memory 2d array in function C

How to allocate dynamic memory for 2d array in function ? I tried this way: int main() { int m=4,n=3; int** …

c arrays function 2d allocation
How to extract part of this image in Java?

I have this sprite sheet: How can I read this image file to extract part of it to be used …

java 2d sprite 2d-games
Android: 2D. OpenGl or android.graphics?

I'm working with my friend on our first Android game. Basic idea is that every frame of the game the …

android animation opengl-es 2d
Perpendicular on a line from a given point

How can I draw a perpendicular on a line segment from a given point? My line segment is defined as (…

math geometry 2d computational-geometry
Android OpenGL ES and 2D

Well, here's my request. I don't know OpenGL already, and I'm not willing to learn it, I want to learn …

android opengl-es 2d
Animation with animationSet() in android

OK here's the problem i have an ImageView in my activity, here's what it looks in main.xml: <ImageView …

android animation 2d
Projecting 3D points to 2D plane

Let A be a point for which I have the 3D coordinates x, y, z and I want to transform …

math 3d geometry 2d plane
Creating 2D dictionary in Python

I have a list of details from an output for "set1" which are like "name", "place", "animal", "thing" and a "…

python dictionary set key 2d