# Does anyone know a library for Drawing Tablet Pen Pressure?

**URL:** <https://discourse.processing.org/t/does-anyone-know-a-library-for-drawing-tablet-pen-pressure/40346>\
**Category:** Libraries\
**Created:** [December 28, 2022, 8:01pm UTC](https://discourse.processing.org/t/does-anyone-know-a-library-for-drawing-tablet-pen-pressure/40346 "2022-12-28T20:01:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lissie](https://avatars.discourse-cdn.com/v4/letter/l/f19dbf/32.png) [@Lissie](https://discourse.processing.org/u/Lissie)\
**Post date:** [December 28, 2022, 8:01pm UTC](https://discourse.processing.org/t/does-anyone-know-a-library-for-drawing-tablet-pen-pressure/40346/1 "2022-12-28T20:01:03Z")

</div>

I tried the Tablat Library from 2016 but it doesnt work int the “tablat = new Tablet(this)” it gives an error! can you help me?

---

<div class="post-metadata">

**Author:** ![svan](https://avatars.discourse-cdn.com/v4/letter/s/82dd89/32.png) [@svan](https://discourse.processing.org/u/svan)\
**Post date:** [December 28, 2022, 8:15pm UTC](https://discourse.processing.org/t/does-anyone-know-a-library-for-drawing-tablet-pen-pressure/40346/2 "2022-12-28T20:15:00Z")

</div>

1. You didn’t tell us what the error message said.
2. The following runs without error on my system (MacOS). I don’t have a tablet to test.

```auto
import processing.javafx.PGraphicsFX2D;
import codeanticode.tablet.*;

Tablet tablet;

void setup() {
  size(640, 480); 
  tablet = new Tablet(this);   
  background(109);
  stroke(255);  
}
void draw() {
  
}

```

I presume that you have the Tablet library installed.

 ![tablet](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/3X/e/a/eaec5550c9f47db181a23e6fb5ee058d6813fc31.png)

---

<div class="post-metadata">

**Author:** ![Lissie](https://avatars.discourse-cdn.com/v4/letter/l/f19dbf/32.png) [@Lissie](https://discourse.processing.org/u/Lissie)\
**Post date:** [December 30, 2022, 2:01pm UTC](https://discourse.processing.org/t/does-anyone-know-a-library-for-drawing-tablet-pen-pressure/40346/3 "2022-12-30T14:01:46Z")

</div>

do you know the tablat library documentation? it seems i cant reach the webpage! 😫

---

<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:** [December 30, 2022, 2:11pm UTC](https://discourse.processing.org/t/does-anyone-know-a-library-for-drawing-tablet-pen-pressure/40346/4 "2022-12-30T14:11:33Z")

</div>

> [@Lissie](#):
>
> do you know the tablat library documentation? it seems i cant reach the webpage!

The link is not correct in the Libraries.

This should help:

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/3X/3/0/3044c403a8ba25da9edb4499b4acda2a3a3d8582.png)

`:)`
