Code Sketch
yadnesh shahare narotu using au
Category: Art
// --- Kojo Vector Art: Naruto Uzumaki with Rasengan ---
cleari()
setBackground(Color(10, 10, 20)) // ????? ??????????
// ?. ?????????? ???? ????? ??? (Chakra Aura Glow)
def drawRasenganAura(x: Double, y: Double): Unit = {
// ??????? ???? ???? ????
val outer = Picture.circle(65)
outer.setFillColor(Color(0, 191, 255, 60))
outer.setPenColor(noColor)
outer.setPosition(x, y)
draw(outer)
// ???? ?????? ???? ??
val mid = Picture.circle(45)
mid.setFillColor(Color(30, 144, 255, 120))
mid.setPenColor(noColor)
mid.setPosition(x, y)
draw(mid)
// ????? ????? ??? (Pure White Core)
val core = Picture.circle(25)
core.setFillColor(Color(255, 255, 255, 220))
core.setPenColor(Color(0, 255, 255))
core.setPenThickness(2)
core.setPosition(x, y)
draw(core)
}
// ?. ???????? ?????-????? ????? (Orange & Black Tracksuit)
def drawJacket(): Unit = {
val jacket = Picture.fromVertexShape { p =>
p.beginShape()
p.vertex(-120, -220)
p.vertex(-55, -80)
p.vertex(0, -95)
p.vertex(55, -80)
p.vertex(120, -220)
p.endShape()
}
jacket.setFillColor(Color(255, 100, 0)) // ?????? ?????
jacket.setPenColor(noColor)
draw(jacket)
// ??????? ???? ????/???????
val collar = Picture.fromVertexShape { p =>
p.beginShape()
p.vertex(-55, -80)
p.vertex(0, -95)
p.vertex(55, -80)
p.vertex(45, -120)
p.vertex(-45, -120)
p.endShape()
}
collar.setFillColor(Color(25, 25, 25)) // ???? ???
collar.setPenColor(noColor)
draw(collar)
}
// ?. ??? ??? ??? (Neck & Ears)
def drawNeckAndEars(): Unit = {
val neck = Picture.fromVertexShape { p =>
p.beginShape()
p.vertex(-30, -20)
p.vertex(30, -20)
p.vertex(35, -95)
p.vertex(-35, -95)
p.endShape()
}
neck.setFillColor(Color(235, 185, 150))
neck.setPenColor(noColor)
draw(neck)
val leftEar = Picture.ellipse(12, 20)
leftEar.setFillColor(Color(245, 195, 160))
leftEar.setPenColor(noColor)
leftEar.setPosition(-52, -5)
draw(leftEar)
val rightEar = Picture.ellipse(12, 20)
rightEar.setFillColor(Color(245, 195, 160))
rightEar.setPenColor(noColor)
rightEar.setPosition(40, -5)
draw(rightEar)
}
// ?. ???????? ????? ??? ???????? ??????? ???? (Whiskers & Face)
def drawNarutoFace(): Unit = {
val face = Picture.fromVertexShape { p =>
p.beginShape()
p.vertex(-48, 25)
p.vertex(48, 25)
p.vertex(44, -10)
p.vertex(28, -60)
p.vertex(0, -82)
p.vertex(-28, -60)
p.vertex(-44, -10)
p.endShape()
}
face.setFillColor(Color(250, 205, 170))
face.setPenColor(noColor)
draw(face)
// ???? ???? (Blue Eyes)
val leftEye = Picture.ellipse(7, 5)
leftEye.setFillColor(Color(0, 150, 255))
leftEye.setPosition(-24, 0)
draw(leftEye)
val rightEye = Picture.ellipse(7, 5)
rightEye.setFillColor(Color(0, 150, 255))
rightEye.setPosition(18, 0)
draw(rightEye)
// ???????? ?-? ???????? ??????? (Whiskers Marks)
for (i <- 0 to 2) {
val leftW = Picture.line(12, -2)
leftW.setPenColor(Color(120, 80, 60))
leftW.setPenThickness(2)
leftW.setPosition(-42, -20 - (i * 6))
draw(leftW)
val rightW = Picture.line(12, 2)
rightW.setPenColor(Color(120, 80, 60))
rightW.setPenThickness(2)
rightW.setPosition(30, -20 - (i * 6))
draw(rightW)
}
// ???? ????? (Confident Smile)
val mouth = Picture.line(18, 0)
mouth.setPenColor(Color(150, 80, 70))
mouth.setPenThickness(2)
mouth.setPosition(-9, -58)
draw(mouth)
}
// ?. ??? ??????? ?????? (Leaf Village Forehead Protector)
def drawHeadband(): Unit = {
// ???? ????? ?????
val band = Picture.rect(104, 28)
band.setFillColor(Color(20, 30, 80))
band.setPenColor(noColor)
band.setPosition(-52, 18)
draw(band)
// ?????? ????? (Metal Plate)
val plate = Picture.rect(54, 20)
plate.setFillColor(Color(190, 195, 200))
plate.setPenColor(noColor)
plate.setPosition(-27, 22)
draw(plate)
// ??? ??????? (Leaf Symbol Text/Design)
val symbol = Picture.text("@", 14)
symbol.setPenColor(Color(50, 50, 50))
symbol.setPosition(-6, 24)
draw(symbol)
}
// ?. ????? ??????? ??? (Yellow Spiky Hair)
def drawSpikyHair(): Unit = {
val hair = Picture.fromVertexShape { p =>
p.beginShape()
p.vertex(-54, 30)
p.vertex(-70, 50)
p.vertex(-48, 55)
p.vertex(-55, 88) // ?????? ?
p.vertex(-28, 70)
p.vertex(-15, 105) // ????? ???? ??????
p.vertex(12, 75)
p.vertex(35, 98) // ?????? ?
p.vertex(48, 60)
p.vertex(68, 50)
p.vertex(54, 30)
p.vertex(0, 42)
p.endShape()
}
hair.setFillColor(Color(255, 215, 0)) // ?????? ???
hair.setPenColor(noColor)
draw(hair)
}
// ?. ????? ???? (Title Text)
def drawText(): Unit = {
val name = Picture.text("NARUTO UZUMAKI", 26)
name.setPenColor(Color(255, 100, 0)) // ?????
name.setPosition(-105, 135)
draw(name)
val skill = Picture.text("RASENGAN! ??", 16)
skill.setPenColor(Color(0, 220, 255)) // ??????? ??????
skill.setPosition(-65, 110)
draw(skill)
}
// ???? ??? ????? ????
drawJacket()
drawNeckAndEars()
drawNarutoFace()
drawHeadband()
drawSpikyHair()
// ???????? ?????/???? ????? ???? (X: 60, Y: -120)
drawRasenganAura(60, -120)
drawText()