Tag Archives: algorithms

Graph equations while preserving aspect ratio in WPF and C#

The previous example, Graph equations entered by the user in WPF and C# shows how to graph an equation entered by the user. The user must also enter the coordinate bounds that the program should use. For example, in the … Continue reading

Posted in algorithms, drawing, graphics, mathematics, reflection, wpf | Tagged , , , , , , , , , , , , , , | 2 Comments

WPF 3d: Three-Dimensional Graphics with WPF and C#

If you haven’t checked out my book, WPF 3d: Three-Dimensional Graphics with WPF and C#, please take a quick look either on my web page or on Amazon. If you have a copy of the book, please post a review! … Continue reading

Posted in 3D, 3D graphics, algorithms, books, graphics, wpf | Tagged , , , , , , , , , , | 3 Comments

Graph equations entered by the user in WPF and C#

This example uses key techniques described in several examples, mostly the following two: Use transformations to draw a graph in WPF and C# Graph equations entered by the user in C# The following two sections describe the key techniques taken … Continue reading

Posted in algorithms, drawing, graphics, mathematics, reflection, wpf | Tagged , , , , , , , , , , , , , | 1 Comment

Pingback: Code Project post “Orbital Mechanics Introduction, Part 2”

The Code Project post Orbital Mechanics Introduction, Part 2 by charles922 uses some code from my WPF 3D posts. His program lets you experiment with the following orbital parameters: Eccentricity – the eccentricity of the orbit’s ellipse. Inclination – the … Continue reading

Posted in 3D, 3D graphics, algorithms, books, drawing, graphics, mathematics, wpf, XAML | Tagged , , , , , , , , , , , , , , | Leave a comment

Winners of the book drawing

Congratulations to the following winners of the book drawing for copies of The Modern C# Challenge. Josh Williams Tony Ropson Richard Moss Mark Williamson William Cruz Stephen Igor Kuzmishov Paolo Mike Griffiths Francisco Javier L√≥pez Manzano If you didn’t win, … Continue reading

Posted in algorithms, books | Tagged , , , , , , , , | Leave a comment

Why you should study algorithms (plus a free book drawing)

There are several reasons why you should study algorithms. I’m going to talk about four of them. (If you want to skip to the bottom, you can read about the drawing I’m having in the next few days for one … Continue reading

Posted in 3D graphics, algorithms, books, graphics | Tagged , , , , , , , , , | Leave a comment

Book Drawing: The Modern C# Challenge

I’m holding a drawing for 10 copies of my latest book, The Modern C# Challenge. Here’s the short blurb about this book. The Modern C# Challenge Become an expert C# programmer by solving interesting programming problems This book includes 100 … Continue reading

Posted in algorithms, books | Tagged , , , , , , , , | 1 Comment

Pingback: Code Project post “Clipping Plane in WPF 3D”

The Code Project post Clipping Plane in WPF 3D by charles922 references a couple of my WPF 3D posts. His post explains several WPF 3D concepts including; Manger sponges (refers to my post Use a dictionary to draw a 3D … Continue reading

Posted in 3D, 3D graphics, graphics | Tagged , , , , , , , , , , , , , , | Leave a comment

Gary Beene’s gbUnSnarl game

Check out Gary Bene’s gbUnSnarl game. Your job is to drag the nodes in a network to unsnarl it. Basically it asks you to find a way to rearrange a planar network so none of its edges intersect. Algorithms to … Continue reading

Posted in algorithms, games | Tagged , , , , , , , , | Leave a comment

Find happy numbers in C#

Before I show you the code, let me explain what happy numbers are. Happy Numbers To find happy numbers, start with any integer. Replace it with the sum of the squares off its digits. Repeat the process until the numbers … Continue reading

Posted in algorithms, mathematics | Tagged , , , , , , , | Leave a comment