-
Extracting Transparency from Flattened Images
Ever had a semi-transparent graphic — a glass effect, a soft shadow, a wisp of smoke — that got flattened onto a solid background? The transparency…
-
Create RGB Rainbow Gradient with Programming Code
Here is some code that will help you create all the RGB values needed for generating a RGB Rainbow gradient. The code steps through 6 sets…
-
How to Interface with Atari Driving Controller – Arduino Programming
The Atari driving controller uses a 16 position encoder that sends pulses to to pin 1 and pin 2 of the game port. These pulses can…
-
Inject onload javascript function for aspx pages with master page
1. Add the using reference to the top of your pages .cs file using System.Web.UI.HtmlControls; 2. In your Page_Load function of the .cs file add…
-
document.getElementById in asp.net with Master Pages
Using JavaScript to locate controls in ASP.net pages that are linked to master pages can be tricky. This is because the ASP.net reassigns control IDs dynamically…
-
C# function for a Bezier Curve
The Bezier Curve formula below can be used to define smooth curves between points in space using line handlers (line P0 to P1 and line P2…
