Glowbug logic