1. Re: killing birds

Hawke,

You just dispatched not just two, but THREE birds with one stray bullet!
You also killed the goose that lays the golden eggs: Euphoria blink

Instead of your, relative short code

    for a=0  to 256 do
       for y=0 to 39 do
         pixel(a,{a,y})
       end for
    end for

try a bit longer but much faster

    sequence colors
    colors=repeat(0,256)
    for i=1 to 256 do
        colors[i]=i-1
    end for
    for i=0 to 39 do
        pixel(colors,{0,i})
    end for

which uses the pixel routine less often with a huge speed gain. Also
you could tell the newbie, where to find select.e (DEMO subdirectory).
jiri

new topic     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu