nicer pants code with brightness pot + pattern rotenc