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

November 25, 2020

Procedural Meshes in Unity: Normals and Tangents

In previous posts, we looked at general mesh generation in Unity, and the issues that arise in generating meshes for lines. In this post,…

November 10, 2020

Procedural Meshes for Lines in Unity

A lines is a fundamental graphics object, but generating attractive, robust lines involve many subtle issues and can be difficult to get right. In…

November 4, 2020

Generating meshes procedurally in Unity

Procedurally generated meshes have several uses in game development: You can use them for crisp, non-standard UI components. You can use them to render…

July 22, 2018

Domino Tilings I

I started a new project: studying polyomino tilings and related problems (very much inspired by Golomb’s famous Polyominoes). As part of this study, I…

February 18, 2016

Generators

A generator (as I will use the term here) is an object that can “generate” other objects on demand. They work like random generators,…

January 24, 2011

2D Minimum and Maximum Filters: Algorithms and Implementation Issues

A while back I needed to implement fast minimum and maximum filters for images. I devised (what I thought was) a clever approximation scheme where…

July 27, 2010

A Simple Trick for Moving Objects in a Physics Simulation

(Original Image by Valerie Everett) It is sometime necessary to move an object in a physics simulation to a specific point. On the one…

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…

April 16, 2010

Simple, Fast* Approximate Minimum / Maximum Filters

*Fast = not toooo slow… For the image restoration tool I had to implement min and max filters (also erosion and dilation—in this case with a…

Posts navigation

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

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

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

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