DEV Community

Adem Deliaslan
Adem Deliaslan

Posted on

1

Javascript Learning From Scratch -00002

Variables

var circle = 40;

ellipse(100, 100, circle, circle);

Alt Text

if ellipse's width and height the same size so it is a circle.

elips fonksiyonunda yükseklik ve genişlik değerlerini eşit verdiğimizde daire elde ederiz.

||||||||||||||||||||||||||||||||||||||||||

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs