Code Sketch


BHAVESH SHAHARE ART
By: Mhalsakant School
Category: Art
// --- Kojo Ultra-Realistic Vector Art: Gojo Satoru (Refined Upgrade) ---
cleari()
setBackground(Color(8, 8, 16)) // ????? ??????? ??????????

// ?. ???????? ???? ??? (Background Infinite Blue Aura)
def drawBackgroundAura(): Unit = {
  val auraGlow = Picture.circle(135)
  auraGlow.setFillColor(Color(0, 150, 255, 30))
  auraGlow.setPenColor(noColor)
  auraGlow.setPosition(0, 10)
  draw(auraGlow)
}

// ?. ????? ?????????? ?????????? ????? (Realistic Jacket with Cloth Folds & Zipper)
def drawRealisticJacket(): Unit = {
  // ??????? ????? ???
  val jacketBase = Picture.fromVertexShape { p =>
    p.beginShape()
    p.vertex(-135, -220)
    p.vertex(-64, -70)
    p.vertex(0, -85)
    p.vertex(64, -70)
    p.vertex(135, -220)
    p.endShape()
  }
  jacketBase.setFillColor(Color(18, 16, 32)) // ????? ?????? ?????
  jacketBase.setPenColor(noColor)
  draw(jacketBase)

  // ????????? ?????? ???? ???? (Collar Fold & Shadows)
  val collarInner = Picture.fromVertexShape { p =>
    p.beginShape()
    p.vertex(-64, -70)
    p.vertex(0, -85)
    p.vertex(64, -70)
    p.vertex(48, -118)
    p.vertex(0, -128)
    p.vertex(-48, -118)
    p.endShape()
  }
  collarInner.setFillColor(Color(10, 8, 20))
  collarInner.setPenColor(noColor)
  draw(collarInner)

  // ??????????? ?????????? ????? (Cloth Texture Highlights)
  val leftFold = Picture.line(20, -50)
  leftFold.setPenColor(Color(35, 30, 58))
  leftFold.setPenThickness(3)
  leftFold.setPosition(-60, -120)
  draw(leftFold)

  val rightFold = Picture.line(-20, -50)
  rightFold.setPenColor(Color(35, 30, 58))
  rightFold.setPenThickness(3)
  rightFold.setPosition(60, -120)
  draw(rightFold)

  // ???? ??? ???? (Metallic Zipper)
  val zip = Picture.line(0, -42)
  zip.setPenColor(Color(190, 190, 210))
  zip.setPenThickness(2)
  zip.setPosition(0, -128)
  draw(zip)
}

// ?. ?????????? ???, ???? ??? ??? (Realistic Neck with Depth Shading)
def drawRealisticNeck(): Unit = {
  // ??? (Neck Base)
  val neck = Picture.fromVertexShape { p =>
    p.beginShape()
    p.vertex(-32, -15)
    p.vertex(32, -15)
    p.vertex(38, -95)
    p.vertex(-38, -95)
    p.endShape()
  }
  neck.setFillColor(Color(235, 185, 165))
  neck.setPenColor(noColor)
  draw(neck)

  // ??????????? ?D ???? (Chin Shadow for Realistic Depth)
  val neckShadow = Picture.fromVertexShape { p =>
    p.beginShape()
    p.vertex(-32, -15)
    p.vertex(32, -15)
    p.vertex(28, -48)
    p.vertex(0, -58)
    p.vertex(-28, -48)
    p.endShape()
  }
  neckShadow.setFillColor(Color(195, 140, 120, 160))
  neckShadow.setPenColor(noColor)
  draw(neckShadow)

  // ??? (Realistic Ears)
  val leftEar = Picture.ellipse(13, 22)
  leftEar.setFillColor(Color(240, 190, 170))
  leftEar.setPenColor(noColor)
  leftEar.setPosition(-54, -2)
  draw(leftEar)

  val rightEar = Picture.ellipse(13, 22)
  rightEar.setFillColor(Color(240, 190, 170))
  rightEar.setPenColor(noColor)
  rightEar.setPosition(42, -2)
  draw(rightEar)
}

// ?. ?????????? ??� ?????? ??? ????? (Sharp 80� Jawline & Face Structure)
def drawRealisticFace(): Unit = {
  val face = Picture.fromVertexShape { p =>
    p.beginShape()
    p.vertex(-50, 28)   // ???? ???????
    p.vertex(50, 28)    // ???? ???????
    p.vertex(46, -8)    // ?????? ??? (Cheekbones)
    p.vertex(30, -58)   // ??� ?????? ???? ?
    p.vertex(0, -78)    // ?????????? ???? (Pointed Chin)
    p.vertex(-30, -58)  // ??� ?????? ???? ?
    p.vertex(-46, -8)
    p.endShape()
  }
  face.setFillColor(Color(250, 212, 192))
  face.setPenColor(noColor)
  draw(face)

  // ?D ??? (Realistic Nose Bridge)
  val nose = Picture.fromVertexShape { p =>
    p.beginShape()
    p.vertex(-2, -15)
    p.vertex(2, -15)
    p.vertex(5, -42)
    p.vertex(0, -45)
    p.endShape()
  }
  nose.setFillColor(Color(215, 165, 145))
  nose.setPenColor(noColor)
  draw(nose)

  // ????? (Natural Lips Line)
  val mouth = Picture.line(18, 0)
  mouth.setPenColor(Color(160, 95, 85))
  mouth.setPenThickness(2)
  mouth.setPosition(-9, -60)
  draw(mouth)
}

// ?. ??? ???? - ???? ??????? + ????????? ?????? (Circular Goggles with Handles & Thin Frame)
def drawCircularGogglesWithHandles(): Unit = {
  val lensY = -5.0
  val leftLensX = -22.0
  val rightLensX = 22.0
  val radius = 17.0

  // ?. ????????? ??????/?????? (Goggle Handles / Temple Arms Going to Ears)
  val leftHandle = Picture.line(-22, 5)
  leftHandle.setPenColor(Color(160, 170, 185)) // ????-???? ???????? ????
  leftHandle.setPenThickness(1)
  leftHandle.setPosition(-38, lensY)
  draw(leftHandle)

  val rightHandle = Picture.line(22, 5)
  rightHandle.setPenColor(Color(160, 170, 185))
  rightHandle.setPenThickness(1)
  rightHandle.setPosition(38, lensY)
  draw(rightHandle)

  // ?. ????????? ????????? ????????? ????? (Center Bridge)
  val bridge = Picture.line(16, 0)
  bridge.setPenColor(Color(150, 160, 175))
  bridge.setPenThickness(1)
  bridge.setPosition(-8, lensY)
  draw(bridge)

  // ?. ???? ??? ????? - ???? ??????? + ???? ????????? (Left Lens)
  val leftDark = Picture.circle(radius)
  leftDark.setFillColor(Color(10, 20, 50)) // ????? ???? ???
  leftDark.setPenColor(Color(180, 190, 205, 180)) // ????/???? ??????? ??????? ??????
  leftDark.setPenThickness(1)
  leftDark.setPosition(leftLensX, lensY)
  draw(leftDark)

  val leftMid = Picture.circle(radius - 4)
  leftMid.setFillColor(Color(0, 100, 200, 180)) // ???? ????
  leftMid.setPenColor(noColor)
  leftMid.setPosition(leftLensX, lensY)
  draw(leftMid)

  val leftLight = Picture.circle(radius - 9)
  leftLight.setFillColor(Color(0, 220, 255, 220)) // ?????? ??????? ???? (Six Eyes)
  leftLight.setPenColor(noColor)
  leftLight.setPosition(leftLensX + 2, lensY + 2)
  draw(leftLight)

  // ?. ???? ??? ????? - ???? ??????? + ???? ????????? (Right Lens)
  val rightDark = Picture.circle(radius)
  rightDark.setFillColor(Color(10, 20, 50))
  rightDark.setPenColor(Color(180, 190, 205, 180)) // ???? ???????
  rightDark.setPenThickness(1)
  rightDark.setPosition(rightLensX, lensY)
  draw(rightDark)

  val rightMid = Picture.circle(radius - 4)
  rightMid.setFillColor(Color(0, 100, 200, 180))
  rightMid.setPenColor(noColor)
  rightMid.setPosition(rightLensX, lensY)
  draw(rightMid)

  val rightLight = Picture.circle(radius - 9)
  rightLight.setFillColor(Color(0, 220, 255, 220))
  rightLight.setPenColor(noColor)
  rightLight.setPosition(rightLensX - 2, lensY + 2)
  draw(rightLight)

  // ?. ???????? ?????????? (Glass Gloss Highlight)
  val glossLeft = Picture.circle(4)
  glossLeft.setFillColor(Color(255, 255, 255, 230))
  glossLeft.setPenColor(noColor)
  glossLeft.setPosition(leftLensX - 5, lensY + 6)
  draw(glossLeft)

  val glossRight = Picture.circle(4)
  glossRight.setFillColor(Color(255, 255, 255, 230))
  glossRight.setPenColor(noColor)
  glossRight.setPosition(rightLensX - 5, lensY + 6)
  draw(glossRight)
}

// ?. ?????-???? ?????????? ??? (Multi-Layered Textured Realistic Hair)
def drawRealisticHair(): Unit = {
  // ?. ??????? ???? ???? ???? (Dark Hair Base Shadow)
  val hairShadow = Picture.fromVertexShape { p =>
    p.beginShape()
    p.vertex(-56, 12)
    p.vertex(-70, 42)
    p.vertex(-50, 48)
    p.vertex(-54, 82)
    p.vertex(-28, 64)
    p.vertex(-14, 100)
    p.vertex(14, 72)
    p.vertex(38, 96)
    p.vertex(50, 54)
    p.vertex(68, 42)
    p.vertex(56, 12)
    p.vertex(0, 22)
    p.endShape()
  }
  hairShadow.setFillColor(Color(210, 215, 230)) // ???? ???
  hairShadow.setPenColor(noColor)
  draw(hairShadow)

  // ?. ????? ?????? ??? (Base White Hair)
  val hairBase = Picture.fromVertexShape { p =>
    p.beginShape()
    p.vertex(-54, 15)
    p.vertex(-66, 38)
    p.vertex(-46, 43)
    p.vertex(-50, 78)
    p.vertex(-24, 60)
    p.vertex(-12, 96)
    p.vertex(12, 68)
    p.vertex(34, 92)
    p.vertex(46, 50)
    p.vertex(64, 38)
    p.vertex(54, 15)
    p.vertex(46, 24)
    p.vertex(0, 26)
    p.vertex(-46, 24)
    p.endShape()
  }
  hairBase.setFillColor(Color(245, 246, 252))
  hairBase.setPenColor(noColor)
  draw(hairBase)

  // ?. ?????????? ??? ????????? (Glowing Strands & Texture)
  val hairHighlight = Picture.fromVertexShape { p =>
    p.beginShape()
    p.vertex(-40, 46)
    p.vertex(-46, 73)
    p.vertex(-26, 58)
    p.vertex(-12, 90)
    p.vertex(10, 64)
    p.vertex(30, 86)
    p.vertex(40, 48)
    p.vertex(0, 32)
    p.endShape()
  }
  hairHighlight.setFillColor(Color(255, 255, 255, 240)) // Pure White Glow Strands
  hairHighlight.setPenColor(noColor)
  draw(hairHighlight)
}

// ?. ????? ????? (Gojo Satoru Title)
def drawText(): Unit = {
  val name = Picture.text("GOJO SATORU", 28)
  name.setPenColor(Color(0, 210, 255))
  name.setPosition(-95, 130)
  draw(name)

  val desc = Picture.text("REALISTIC HAIR, CLOTHES & THIN FRAME GOGGLES", 10)
  desc.setPenColor(Color(180, 160, 240))
  desc.setPosition(-145, 108)
  draw(desc)
}

// ???? ??? ????????????? ????? ????
drawBackgroundAura()
drawRealisticJacket()
drawRealisticNeck()
drawRealisticFace()
drawCircularGogglesWithHandles()
drawRealisticHair()
drawText()