Had a few moments today to make a small screen saver thing. Not very advanced, but looks colorful and plays random background music. Touching screen will clear screen.
'Circle screen saver thing.
'Touch screen to clear and reset.
'Works in portrait or lanscape mode.
'For iphone or ipad
'Coded by Dav
graphics
shadow on
main:
x=screen_width()/2
y=screen_height()/2
graphics clear 0,0,0
s$="" 'generate random notes
for o = 1 to 800
s$=s$&chr$(63+rnd(7))&str$(5+rnd(2))&"r"
s$=s$&str$(12+rnd(2))&":"
next o
notes set "13:q"&s$
notes play
do
v = rnd(100)+5
for t = 1 to x
x1 = (cos(t)*z) + x
y1 = (sin(t)*z) + y
fill color r/255,g/255,b/255
fill circle x1,y1 size z/v
z=z+1 ! if z > x*2.1 then z = 1
r=r+1 ! if r> 255 then r=rnd(255)
g=g+1 ! if g> 255 then g=rnd(255)
b=b+1 ! if b> 255 then b=rnd(255)
if screen_width()<>x*2 then main
if touch_x(0) <>-1 then main
next t
until 0
Attachments
circlething.jpg (167.19 KiB) Viewed 3383 times
Last edited by Dav on Sat Feb 21, 2015 3:17 pm, edited 1 time in total.
Glad you like it! Yes the music needs work. It was a last minute addition. I wrote this music today to make up for it. Is there a way to play two instruments at once?
Hi Dav
I have also made a loop for you today.
It is a MP3 file made with my synths and Daw
let me please know wat you think
i can make many more so ask me.
dE.niz wrote:Hi Dav
I have also made a loop for you today.
It is a MP3 file made with my synths and Daw
let me please know wat you think
i can make many more so ask me.
dE.niz
Hi dE.niz! Thank you for the looping music. That's really nice! I think the style fits the screen saver well. I'm also into music, syths & DAW's. The music apps available for iPad are great.