Top "2d" questions

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

2D Engines for Javascript

I'm attempting to build a tile-based game in javascript, using HTML5 canvas. There are -many- engines to choose from, such …

javascript html canvas 2d
Draw a 2D Image using OpenGL ES 2.0

I've been struggling to draw a 2D image from jpg/png files using openGL ES 2.0 for Android. Everywhere I look …

android android-emulator 2d opengl-es-2.0 sprite
Random points inside a parallelogram

I have a 4 side convex Polygon defined by 4 points in 2D, and I want to be able to generate random …

algorithm matlab random 2d polygon
Allocate 2D Array on Device Memory in CUDA

How do I allocate and transfer(to and from Host) 2D arrays in device memory in Cuda?

multidimensional-array memory-management 2d cuda device
2d game : fire at a moving target by predicting intersection of projectile and unit

Okay, this all takes place in a nice and simple 2D world... :) Suppose I have a static object A at …

2d intersection predict
Simple physics-based movement

I'm working on a 2D game where I'm trying to accelerate an object to a top speed using some basic …

math 2d physics
XNA 2D vector angles - what's the correct way to calculate?

what is in XNA in 2D the standard way vector angles work ? 0 degrees points right, 90 points up, 180 left, 270 down ? What …

vector xna 2d angle direction
Simple 2d polygon triangulation

Trying to triangulate a set of simple 2d polygons, I've come up with this algorithm: 1) For each vertex in the …

algorithm geometry 2d triangulation
How to draw a dashed line over an object?

I am drawing a line on a control on my Windows form like this: // Get Graphics object from chart Graphics …

c# winforms user-interface drawing 2d
Scrolling parallax background, infinitely repeated in libgdx

I'm making a 2D sidescrolling space shooter-type game, where I need a background that can be scrolled infintely (it is …

scroll 2d textures libgdx parallax