https://alandroidnet.com/related/fill triangle algorithm