Top "2d" questions

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

How to Rotate with AffineTransform and keep the orignal coordinates system?

I'am a command pattern to rotate and translate shapes on Java Swing The translation and the rotation work well separatly, …

java rotation 2d translation affinetransform
2D Elastic Ball Collision Physics

I am making a program that involves elastic ball physics. I have worked out all of the maths for collision …

2d physics collision
HTML5/JavaScript 2.5D - Making the ground in its own plane

So, I'm really interested in starting an HTML5/JavaScript project that mimics this type of 2.5D style: http://superflashbros.net/2009/02/22/…

javascript html 3d 2d 2.5d
Interpolating along the 2-D image slices

I have a set of 100 2-D image slices of the same size. I have used MATLAB to stack them to …

matlab 2d volume interpolation visualize
Skia vs Cairo vs Direct2D, which is the most feature rich?

A just curious question. I'm aware that: Skia, Cairo: library Direct2D: API But without any additional components, exclusively on …

2d directx vector-graphics cairo skia
A divide-and-conquer algorithm for counting dominating points?

Let's say that a point at coordinate (x1,y1) dominates another point (x2,y2) if x1 ≤ x2 and y1 ≤ y2; …

algorithm 2d big-o time-complexity divide-and-conquer
Area of self-intersecting polygon

Calculating the area of a simple irregular polygon is trivial. However, consider the self-intersecting polygon ABCDEF shown at left below:                     …

algorithm svg 2d polygon
Placing 2D shapes in a rectangle efficiently. How to approach it?

I've been searching far and wide on the seven internets, and have come to no avail. The closest to what …

algorithm 2d uv-mapping texture-packing
Does anyone know of any good tutorials for the Slick 2D lib?

There is a 2D java graphics library called Slick 2D (http://slick.cokeandcode.com/) that seems to be used by …

java graphics applet 2d
Sudoku Board Using JPanels in Java

I know there have been several posts already about Sudoku-related questions, but I am not sure any of them have …

java arrays swing 2d sudoku