[Sugar-devel] [Dextrose] [PATCH v5 sugar] Pulsing icon delayed by 5 seconds or so SL#2080

James Cameron quozl at laptop.org
Fri Oct 29 07:21:10 EDT 2010


On Fri, Oct 29, 2010 at 09:47:33AM +0100, Martin Dengler wrote:
> +        N = 10.0
> +        self._level = round((math.sin(self._phase) + 1) / 2, 3)
> 
> ...and I didn't see much change with my test program[1]:

Ah, right.  Sorry I missed that.  round(x, 3) will get you 1000 unique
images.  Perhaps you would like to try round(x, 1)?

-- 
James Cameron
http://quozl.linux.org.au/


More information about the Sugar-devel mailing list