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

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

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

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