4 Reusable Code Snippet Topics

Remove Filter
Member Avatar for
Member Avatar for ddanbe

To refresh my mind I did some exercises about complex numbers. I was constantly drawing axes and arrows. So I decided to print out some worksheets with a program to make my life a bit easier, and because it is always fun to design a little program to do that …

2
253
Member Avatar for CodeNinjaMike

So, basically im using the codea bove to generate coordinates for a grid, but I only want to generate coordinates for the "outer ring" of a square. SO imagine a grid of 7x7, I won't generate coordinates for the inner 5x5 square, only for the outer ring. Basically I drew …

0
580
Member Avatar for ddanbe

This is code to plot a "random walk" in polar coordinates.See also: [url]http://www.daniweb.com/software-development/csharp/code/379275[/url] Just posted the code of my main form, more details can be found in the zip file. I also included a sample output. I perhaps intend to use this in some sort of game, were a biologist …

Member Avatar for ddanbe
0
408
Member Avatar for ddanbe

What polar coordinates are is explained [url=http://en.wikipedia.org/wiki/Polar_coordinate_system]here[/url]. I wanted to draw some polar functions myself, so I changed my [url=http://www.daniweb.com/software-development/csharp/code/217204]plotting class [/url] a bit and added a polar struct to a new project.. Just posted code for the Plot class and the polar point structure here. You can find an …

2
999

The End.