Codea Competition Challenge

@TokOut - you don’t make the rules.

-- Use this function to perform your initial setup
function setup()
    size=0
end

function draw()
    background(0)
    fill(255,255,0)
    ellipse(CurrentTouch.x,CurrentTouch.y,size)
end

function touched(touch)
    if touch.state == BEGAN then
        size=0
    elseif touch.state == MOVING then
        size=size+1
    end
end

Hello here is my version.


function setup()
    displayMode(FULLSCREEN) ; backingMode(RETAINED) ; background(0)
    dim=2*math.random(15) ; vitesse=30+math.random(60)
end

function draw()
    for i=0,math.random(vitesse) do
        c1=math.random(255-vitesse+i) ; c2=math.random(255-vitesse+i)
        c3=math.random(255-vitesse+i) ; fill(c1,c2,c3)
        for j=0,math.random(vitesse) do
            x=math.random(WIDTH/dim //1)*dim ; y=math.random(HEIGHT/dim //1)*dim
            ellipse(x+i*dim,y+i*dim,dim)
        end
    end
    --sound( { Waveform = SOUND_NOISE, AttackTime = 0, SustainTime = 1 } )
end

All reset create another picture
thanks

Thank you all, one more day, then we choose one of your entries above, to change in the next round.

this one is short enough

backingMode(RETAINED)
function draw()
    a = math.floor(ElapsedTime/3)
    if a ~= k then background(0)  end
    k = a
    fill(255,255,0)
    for p= 1,10+k do
    n = (n or 0) + 1
    x = (math.cos(n/100 * (10 + k)) * 0.4 + 0.5) * WIDTH 
    y = (math.sin(n/100 * 10) * 0.4 + 0.5) * HEIGHT 
    ellipse(x,y,5)
    end
end

Well, Jmv38 took it with his entry, but I liked some of the others, too.

You can see them all in one project here.

http://www.youtube.com/watch?v=rp9kReF_cPo

Nice and funny competition! Start another one soon :slight_smile:

B)
Thanks!