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

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

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