# Variable font in processing

**URL:** https://discourse.processing.org/t/variable-font-in-processing/11060
**Category:** Coding Questions
**Created:** [May 9, 2019, 11:12am UTC](https://discourse.processing.org/t/variable-font-in-processing/11060 "2019-05-09T11:12:27Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![smekis](https://avatars.discourse-cdn.com/v4/letter/s/ea666f/32.png) [@smekis](https://discourse.processing.org/u/smekis)
#### Post date: [May 9, 2019, 11:12am UTC](https://discourse.processing.org/t/variable-font-in-processing/11060/1 "2019-05-09T11:12:27Z")

</div>

I have created a variable font that I want to be able to present via processing. Is there a function where I can do this in processing?

Found this forum post: [Controlling CSS values with mouse in p5.js](https://discourse.processing.org/t/controlling-css-values-with-mouse-in-p5-js/156)  
With this type of code" `font-variation-settings: "wght" 30, "cont" 250, "strk" 10;`  
And it looks like it’s working: [https://codepen.io/andreasref/pen/bMZbjB](https://codepen.io/andreasref/pen/bMZbjB)

I Understand that p5js is a different language but my wish is to do it either in a processing sketch and upload it to a web page or just a software for my computer. I’m gonna use it in an art project.

Any Ideas?

/S
