# Increase dot size (point())

**URL:** https://discourse.processing.org/t/increase-dot-size-point/44771
**Category:** Beginners
**Created:** [July 16, 2024, 10:29am UTC](https://discourse.processing.org/t/increase-dot-size-point/44771 "2024-07-16T10:29:48Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![fra](https://avatars.discourse-cdn.com/v4/letter/f/a6a055/32.png) [@fra](https://discourse.processing.org/u/fra)
#### Post date: [July 16, 2024, 10:29am UTC](https://discourse.processing.org/t/increase-dot-size-point/44771/1 "2024-07-16T10:29:48Z")

</div>

Hi,

with this code I draw some points:

```auto
size(400, 400);
noSmooth();
point(120, 80);
point(340, 80);
point(340, 300);
point(120, 300);

```

So they are drawn with the size of one pixel.  
Is there a way to increase the dot size?

Thank you,  
f

---

<div class="post-metadata">

### Author: ![glv](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/glv/32/18785_2.png) [@glv](https://discourse.processing.org/u/glv)
#### Post date: [July 16, 2024, 10:37am UTC](https://discourse.processing.org/t/increase-dot-size-point/44771/2 "2024-07-16T10:37:48Z")

</div>

Hello

There are resources here to help you:

> **[Welcome to Processing!](https://processing.org)**
>
> Processing is a flexible software sketchbook and a language for learning how to code. Since 2001, Processing has promoted software literacy within the visual arts and visual literacy within technology…

Take a look at this reference:

[point() / Reference / Processing.org](https://processing.org/reference/point_.html) \< In the _Related_ (bottom) section there is a reference to stroke()

[stroke() / Reference / Processing.org](https://processing.org/reference/stroke_.html) \< In the _Related_ section you will find your solution!

Master list of references:

> **[Reference](https://processing.org/reference/)**
>
> Find further documentation of the Processing language

`:)`

---

<div class="post-metadata">

### Author: ![Chrisir](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/chrisir/32/45_2.png) [@Chrisir](https://discourse.processing.org/u/Chrisir)
#### Post date: [July 17, 2024, 8:31am UTC](https://discourse.processing.org/t/increase-dot-size-point/44771/3 "2024-07-17T08:31:40Z")

</div>

this seems to work:

```auto
size (333, 333);
strokeWeight(25);
point(55, 55);
strokeWeight(1);//reset

```

But the way to go is:

- with `circle()` or `ellipse()` command. You can use noStroke, stroke or fill before them
- cf. for circle: [circle() / Reference / Processing.org](https://processing.org/reference/circle_.html)
- cf. for ellipse: [ellipse() / Reference / Processing.org](https://processing.org/reference/ellipse_.html)
- cf. reference: [Reference / Processing.org](https://processing.org/reference)

---

<div class="post-metadata">

### Author: ![fra](https://avatars.discourse-cdn.com/v4/letter/f/a6a055/32.png) [@fra](https://discourse.processing.org/u/fra)
#### Post date: [July 18, 2024, 5:27pm UTC](https://discourse.processing.org/t/increase-dot-size-point/44771/4 "2024-07-18T17:27:58Z")

</div>

There are several ways to do this.  
Very interesting, thanks.  
f
