Notes on computer graphics, pixel art and the math behind them. Most posts let you edit the code and watch it redraw.

Ivan Kubota · since 2012

2026

2025

2024

EXPERIMENT
canvasfonttypography04 May

Letter Work

Drawing, and measuring text on cavas. Checking how emojis are working. SImple skew animation

pixelartnoiseperlinhistory28 Mar

Ken Perlin Noise

Great article by Ken Perlin that I find in the cellar of WayBack Machine. Made an article out of old days presentation

2023

2022

webglcanvasplanet3dpixelartsimulation13 Feb

Solar System

Trying Three-fiber for setting up the solar system 3D scene. Playing with shaders

webglsphere3d09 Jan

WebGL Sphere

Building sphere from scratch. Mesh by mesh, and shading the result

2021

renderer03 Jun

Diamond gradient

How to modify skia shader to draw the diamond gradient

pixelartbrickslightshade04 Jan

Bricks with shading

Casting light to brickwall with dot product

pixelartbricks03 Jan

Bricks

Drawing pixelart brick wall

2020

physicsprojectionspixelart13 May

Projections

Precise 2D physics, and collisions calculation. Simple math and a lot of examples

pixelarttriangle fill11 May

Draw a triangle

How to filling a triangle pixel by pixel

pixelartvoronoi31 Mar

Voronoi Diagram

Closest point give us this well known pattern. It is widely used in computer graphics, and during medieval plagues source approximations.

2019

pixelartchallengegameOfLife15 Dec

Game of life

Only here: Conway game of life drawn as pixelart!

EXPERIMENT
pixelarthousewoods08 Dec

Grass

Drawing some grass.

pixelartfire06 Dec

Fire

Oldschool technique of drawing cozy pixelart fire

pixelartsky05 Dec

Sky

Pixelart sky. Some stars, some dithering, and comets

EXPERIMENT
colortool14 Apr

Colors

Drawing LAB color space

2018

pixelartpixel07 Feb

Layers

Layer system for pixelart engine. Now I could draw multiple graphic layers, and update them individually!

pixelartanimationpixel04 Feb

Animation

it is alive!

2017

2016

historygraphicspixel14 Aug

Simplest shape (line)

Complexity of drawing a simple line. From old to modern GPU implementations

2015

randommath03 Feb

Random

Find out how pseudo-random works, play with seeded random

2014

2013

2012

2018

2017