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

Category: Algorithms

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…

October 8, 2009

15 Steps to Implement a Neural Net

(Original image by Hljod.Huskona / CC BY-SA 2.0). I used to hate neural nets. Mostly, I realise now, because I struggled to implement them correctly. Texts…

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 15, 2009

Estimating a Continuous Distribution from a Sample Set

It is sometimes necessary to find the distribution given a sample set from that distribution. If we do not know anything about the distribution,…

April 15, 2009

Generating Random Points from Arbitrary Distributions for 2D and Up

I have already covered how to generate random numbers from arbitrary distributions in the one-dimensional case. Here we look at a generalisation of that…

April 9, 2009

Cellular Automata for Simulation in Games

A cellular automata system is one of the best demonstrations of emergence. If you do not know what cellular automata (CA) is, then you…

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 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:…

Posts navigation

Previous 1 2 3 Next

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

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

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

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