.NET news » Graphics Graphics Rss Feed

Generating Graphs with WPF

A common software-development task is generating a graph from a set of test-related data. But if you're doing it by hand and the underlying data changes frequently, this particular task can become quite tedious. James McCaffrey shows you how to automate the process using Windows Presentation Foundation technology.
6 Jun 2010, 19:00:00   Source: Generating Graphs with WPF   Tags: WPF Graphics

Using lambdas for WPF animation

It’s fairly easy to create and animate a graphical primitive, say by moving it from point A to point B at constant speed. But what if you need to position several graphical objects in a particular arrangement and then animate them in a non-linear fashion? Neither Silverlight nor WPF has built-in functions for this. In this article, I’ll demonstrate ways in which one can create objects and animations dynamically using lambda-delegates and higher-order functions.
4 Jun 2010, 11:58:00   Source: Using lambdas for WPF animation   Tags: Graphics WPF Silverlight

Making SVG Charts with Common Objects

This article explains how to create some interesting charts in SVG documents
29 May 2010, 08:45:00   Source: Making SVG Charts with Common Objects   Tags: Graphics

A simple JPEG Encoder in C#

Most of the implementations of JPEG Encoder/Decoder are in C/C++. But, for a project my friend 'anirban' required a JPEG Encoder in C#. So, we started writing our own encoder. It turned out to be very complex and difficult. The one we wrote from scratch was really-really slow.. some functions had 4th order complexity (Mostly the DCT part). Somehow, we managed to get some 'C' code from a forum. I converted parts of the 'C' code to C#, it was tedious work, but it worked pretty fast due to the fast DCT (AA&N).
22 May 2010, 17:25:00   Source: A simple JPEG Encoder in C#   Tags: Graphics

The OpenGL and GLUT: A Powerful Graphics Library and Utility Kit

Since OpenGL drawing commands are limited to those that generate simple geometric primitives (points, lines, and polygons), the OpenGL Utility Toolkit (GLUT) has been created to aid in the development of more complicated three-dimensional objects such as a sphere, a torus, and even a teapot. GLUT may not be satisfactory for full-featured OpenGL applications, but it is a useful starting point for learning OpenGL…
13 May 2010, 01:34:00   Source: The OpenGL and GLUT: A Powerful Graphics Library and...   Tags: Graphics

Visualizing Complex Functions

A program to produce beautiful and informative images of complex functions.
12 May 2010, 01:28:00   Source: Visualizing Complex Functions   Tags: Examples Graphics Algorithms

Busy Dizzy Bee-sley Spirographic Animation in Expression Blend & Silverlight

Simulating a random motion animation without code, using Spirographic Shapes, PathListBoxes, Storyboards & Behaviours

Color Matrix Image Drawing Effects

This C# program demonstrates the effect of using the ColorMatrix operator on an image. This program contains several sample matrix filters which you can select and modify. The top portion of the program interface contains three images. A background image, an overlay and the result of applying the color matrix on the overlay rendered on top of the background image.
22 Apr 2010, 09:33:00   Source: Color Matrix Image Drawing Effects   Tags: Graphics Examples

Tom's Halls - A JavaScript Platform Game Engine

A 2D platform game engine using JavaScript DOM manipulation and CSS
8 Apr 2010, 19:56:00   Source: Tom's Halls - A JavaScript Platform Game Engine   Tags: Graphics ASP.NET

ImageViewer UserControl

The ImageViewer UserControl is something I created to fill in a gap I experienced in displaying images on my forms. I wanted to be able to zoom in, zoom out, rotate my images and best of all, not having to scale my images down to make it fit inside my forms.

I have looked around and found solutions such as dragging PictureBoxes inside of a panel, potentially good but it had it's issues. With this article I want to share my work to those who might be having this very same issue.

7 Apr 2010, 09:20:00   Source: ImageViewer UserControl   Tags: Components Graphics