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
Skip to content

Tag: C++

June 15, 2010

Region Quadtrees in C++

(Original image by GoAwayStupidAI). Below are four C++ implementations of the region quadtree (the kind used for image compression, for example). The different implementations…

May 12, 2010

Catching Common Image Processing Programming Errors with Generic Unit Tests

When implementing image algorithms, I am prone to make these mistakes: swapping x and y; working on the wrong channel; making off-by-one errors, especially…

December 15, 2008

A simple texture algorithm – faster code and more results

Faster Code A while back I wrote about a simple texture algorithm that I have been exploring. The Python implementation was very slow –…

December 7, 2008

Random Steering – 7 Components for a Toolkit

Random steering is often a useful for simulating interesting steering motion. In this post we look at components that make up a random steering…

November 11, 2008

5 Tips for Prototyping Slow Algorithms

(Photo by  Darren Hester) Some algorithms take a long time to return their results. Whether it is because the algorithm has to operate on…

September 21, 2008

Generating Random Numbers with Arbitrary Distributions

For many applications, detailed statistical models are overkill. Instead, we can get away with a rough description of the distribution – not in mathematical…

Categories

  • Algorithms (25)
  • C++ (3)
  • Downloads (13)
  • Game Development (18)
  • Games (1)
  • Image Processing (11)
  • Java (2)
  • Mathematics (11)
  • Python (6)
  • Simulation (5)
  • Snippet (8)
  • Tools (4)
  • Tutorial (9)
  • Web Development (1)

Blogroll

  • Dev.Mag

Tag cloud

functional equations artificial intelligence optimisation Image Processing Mathematics editor filtering discrete calculus computer graphics level editor C++ random number generation Dev.Mag grids z-transform probability distribution function Game Development sum 2D white noise Perlin noise tiles AI quadtree response curve maintainability image partitioning Game Maker procedural texture vector field Simulation compression functional equation quadtrees game tools difference equation blending spatial partitioning random random distribution Python Special Numbers Library sampling algorithm

Categories

  • Algorithms (25)
  • C++ (3)
  • Downloads (13)
  • Game Development (18)
  • Games (1)
  • Image Processing (11)
  • Java (2)
  • Mathematics (11)
  • Python (6)
  • Simulation (5)
  • Snippet (8)
  • Tools (4)
  • Tutorial (9)
  • Web Development (1)

Blogroll

  • Dev.Mag

Tag cloud

compression random number generation z-transform image partitioning computer graphics game tools procedural texture sum Mathematics blending discrete calculus Game Maker optimisation functional equation random distribution Dev.Mag difference equation Image Processing quadtrees grids probability level editor random sampling tiles editor Python maintainability Simulation quadtree Perlin noise vector field filtering 2D Game Development artificial intelligence functional equations spatial partitioning algorithm C++ Special Numbers Library AI response curve white noise distribution function
Copyright code-spot. All rights reserved. | Powered by WordPress & Writers Blogily Theme