# Requirements for modes

**URL:** https://discourse.processing.org/t/requirements-for-modes/37542
**Category:** Development
**Created:** [June 14, 2022, 12:17pm UTC](https://discourse.processing.org/t/requirements-for-modes/37542 "2022-06-14T12:17:03Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![NumericPrime](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/numericprime/32/16318_2.png) [@NumericPrime](https://discourse.processing.org/u/NumericPrime)
#### Post date: [June 14, 2022, 12:17pm UTC](https://discourse.processing.org/t/requirements-for-modes/37542/1 "2022-06-14T12:17:03Z")

</div>

I’m currently trying to develop a custom mode for processing. However I don’t know what custom modes need to provide in terms of code to work. What classes/methods do I need to provide to get a custom mode to work?

---

<div class="post-metadata">

### Author: ![mnse](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/mnse/32/16520_2.png) [@mnse](https://discourse.processing.org/u/mnse)
#### Post date: [June 14, 2022, 12:30pm UTC](https://discourse.processing.org/t/requirements-for-modes/37542/2 "2022-06-14T12:30:09Z")

</div>

Hi,

just out of curiosity …  
What custom mode you want to provide ? 🙂

Cheers  
— mnse

---

<div class="post-metadata">

### Author: ![NumericPrime](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/numericprime/32/16318_2.png) [@NumericPrime](https://discourse.processing.org/u/NumericPrime)
#### Post date: [June 14, 2022, 1:08pm UTC](https://discourse.processing.org/t/requirements-for-modes/37542/3 "2022-06-14T13:08:48Z")

</div>

I’ve developed a library to allow quantum computing using Java and I’d like to make it into a processing mode.

---

<div class="post-metadata">

### Author: ![mnse](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/mnse/32/16520_2.png) [@mnse](https://discourse.processing.org/u/mnse)
#### Post date: [June 14, 2022, 3:25pm UTC](https://discourse.processing.org/t/requirements-for-modes/37542/4 "2022-06-14T15:25:07Z")

</div>

So then, if it is already java you should consider to make a contributed library instead …

Otherwise take a look at processing repo and check what they did for their modes, but it is not that less 😉  
[Java](https://github.com/processing/processing4)  
[Android](https://github.com/processing/processing-android/)  
[Python](https://github.com/jdf/processing.py)

Cheers  
— mnse

---

<div class="post-metadata">

### Author: ![Ov3rM1nD](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/ov3rm1nd/32/1756_2.png) [@Ov3rM1nD](https://discourse.processing.org/u/Ov3rM1nD)
#### Post date: [June 14, 2022, 4:49pm UTC](https://discourse.processing.org/t/requirements-for-modes/37542/5 "2022-06-14T16:49:16Z")

</div>

@NumericPrime I’m currently writing a custom JavaMode-based mode for Processing and maybe i can help you. Send me a message with your questions.
