function setup() | |
displayMode(FULLSCREEN) | |
--[[ | |
text("I can't develop good pictures, but I am young!", WIDTH/2, HEIGHT-75) | |
text("Developed with translate, ellipse, line, blendMode and rect.", WIDTH/2, HEIGHT-100) | |
text("This is an starship with an universal background.", WIDTH/2, HEIGHT-125) | |
text("So there was one time a starship which was called " .. '"' .. "Arda" .. '"', WIDTH/2, HEIGHT-150) | |
text("The owner of the Ship is Eras, he was a nice person, till", WIDTH/2, HEIGHT-175) | |
text("Uron kidnepped him. He is now on the Planet «Erilton»,", WIDTH/2, HEIGHT-200) | |
text("and he could go away with an deal, that he will kill Yoda...", WIDTH/2, HEIGHT-225) | |
]] | |
speech.language = "en" | |
speech.say("There was one time a startship which was called Arda. the owner of the ship is Eras, a nice person, but he was kidnepped by Uron, the owner of the y were on the planet Erilton and he could go away with a deal that he will kill Yoda") | |
end | |
function draw() | |
background(0, 0, 0, 255) | |
translate(WIDTH/2, HEIGHT/2) | |
-- Background | |
stroke(0, 0, 0, 255) | |
blendMode(ADDITIVE) | |
fill(64, 64, 29, 84) | |
ellipse(0, 0, 500) | |
fill(43, 64, 29, 255) | |
ellipse(100, 200, 250) | |
fill(60, 29, 29, 133) | |
ellipse(-200, -25, 500) | |
fill(26, 48, 44, 193) | |
rect(0 - WIDTH/2, 0 - HEIGHT/2, WIDTH, HEIGHT) | |
fill(68, 31, 102, 69) | |
blendMode(NORMAL) | |
strokeWidth(150) | |
stroke(96, 76, 54, 198) | |
line(0 - WIDTH/2, 0 - HEIGHT/2, WIDTH, HEIGHT) | |
blendMode(MULTIPLY) | |
noStroke(50, 50, 50, 50) | |
blendMode(ADDITIVE) | |
fill(45, 25, 46, 79) | |
ellipse(0, 0, 1000) | |
fill(50, 57, 28, 61) | |
ellipse(-250, 350, 450) | |
blendMode(NORMAL) | |
fill(76, 31, 43, 132) | |
ellipse(-175, -200, 250) | |
fill(75, 48, 89, 100) | |
ellipse(200, -250, 500) | |
blendMode(MULTIPLY) | |
fill(122, 117, 55, 81) | |
rect(50, 150, 500, 200) | |
fill(64, 49, 49, 157) | |
rect(-250, -50, 500, 450) | |
blendMode(NORMAL) | |
-- Space Ship | |
noSmooth() | |
smooth(0, 100, 150, 225) | |
stroke(255, 255, 255, 255) | |
strokeWidth(25) | |
fill(255, 255, 255, 255) | |
translate(-250, -250) | |
line(0, 0, 150, 15) | |
line(0, 0, 150, 125) | |
line(150, 125, 150, 15) | |
line(150, 125, 250, 150) | |
line(150, 15, 500, 12.5) | |
line(250, 150, 500, 250) | |
line(250, 150, 500, 20) | |
line(500, 12.5, 500, 250) | |
font("AmericanTypewriter-Bold") | |
fontSize(25) | |
translate(250, 250) | |
translate(0 - WIDTH/2, 0 - HEIGHT/2) | |
text("I can't develop good pictures, but I am young!", WIDTH/2, HEIGHT-75) | |
text("Developed with translate, ellipse, line, blendMode and rect.", WIDTH/2, HEIGHT-100) | |
text("This is an starship with an universal background.", WIDTH/2, HEIGHT-125) | |
text("So there was one time a starship which was called " .. '"' .. "Arda" .. '"', WIDTH/2, HEIGHT-150) | |
text("The owner of the Ship is Eras, he was a nice person, till", WIDTH/2, HEIGHT-175) | |
text("Uron kidnepped him. He is now on the Planet «Erilton»,", WIDTH/2, HEIGHT-200) | |
text("and he could go away with an deal, that he will kill Yoda...", WIDTH/2, HEIGHT-225) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment