Tag Archives: 2D

New WPF Interface for Microsoft Visual Studio 2010

« Updated Post » See link at the bottom of the post for information on how to download Microsoft Visual Studio 2010, or just go straight to the Microsoft Visual Studio site here. The next major release of Microsoft’s Visual … Continue reading

Posted in WPF | Tagged , , , , , , , , , , , , , , , , , , , , , , , , | 2 Comments

Interactive Sine Wave

Here is an implementation of a trigonometric function, plotted as a 2D graph. Interactive controls are available to alter the graph dynamically. The sine wave plotted incorporates parameters commonly used in physics. You can directly control the amplitude (A), phase … Continue reading

Posted in ActionScript, Flash, Mathematics | Tagged , , , , , , , , , , , | 7 Comments

Calculating the Distance Between Two Pixels in 2D

In many graphics applications it is often necessary to know the distance between two points or pixels, such as collision detection in games. Here, we are just interested in calculating the distance between pixels in 2D. However, it is not … Continue reading

Posted in Graphics, Mathematics | Tagged , , , , , , , | Leave a comment