Skip to content

code-spot

a programming blog

  • Blog
  • Writing (on Game Development)
  • Polyominoes
  • Private Projects
    • Difference and Functional Equations Reference
    • Python Image Code
    • Special Numbers Library
    • XSI Scripting Using Python: Course Notes
  • About Me

Category: Python

April 7, 2010

Poisson Disk Sampling Example Code

I decided to put the Poisson disk sampling code here for download since the site that hosted it is down. The code accompanies the…

May 28, 2009

Getting More out of Seamless Tiles

I wrote an article for Dev.Mag covering some techniques for working with seamless tile sets such as making blend tiles, getting more variety with procedural colour  manipulation,…

April 28, 2009

Generating Random Integers With Arbitrary Probabilities

I finally laid my hands on Donald Knuth’s The Art of Computer Programming (what a wonderful set of books!), and found a neat algorithm…

April 8, 2009

How to Turn XSI Mod Tool into a Level Editor for your XNA Games: Updated for XNA 3.0.

Last year I wrote a tutorial explaining how to use XSI Mod Tool as a level editor, specifically for XNA. Below is the same…

November 15, 2008

Quadtrees

The code below implements some quadtree extensions, as discussed in another Dev.Mag tutorial about quadtrees (see Issue 27). The tutorial covers the following topics:…

October 6, 2008

Quadtrees

The quadtree is an important 2D data structure and forms the core of many spatial algorithms, including compression, collision detection, and stitching algorithms. Below…

Categories

  • Algorithms (27)
  • C# (1)
  • C++ (3)
  • Downloads (13)
  • Game Development (21)
  • Games (1)
  • Graphics (1)
  • Image Processing (12)
  • Java (2)
  • Mathematics (11)
  • Opinion (1)
  • Python (6)
  • Simulation (5)
  • Snippet (8)
  • Tools (4)
  • Tutorial (9)
  • Web Development (1)

Blogroll

  • Dev.Mag

Categories

  • Algorithms (27)
  • C# (1)
  • C++ (3)
  • Downloads (13)
  • Game Development (21)
  • Games (1)
  • Graphics (1)
  • Image Processing (12)
  • Java (2)
  • Mathematics (11)
  • Opinion (1)
  • Python (6)
  • Simulation (5)
  • Snippet (8)
  • Tools (4)
  • Tutorial (9)
  • Web Development (1)

Blogroll

  • Dev.Mag
Copyright code-spot. All rights reserved. | Powered by Writers Blogily Theme