# Would it be possible to create a triangular application?

**URL:** <https://discourse.processing.org/t/would-it-be-possible-to-create-a-triangular-application/41564>\
**Category:** Coding Questions\
**Created:** [April 2, 2023, 2:26am UTC](https://discourse.processing.org/t/would-it-be-possible-to-create-a-triangular-application/41564 "2023-04-02T02:26:22Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![josephh](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/josephh/32/210_2.png) [@josephh](https://discourse.processing.org/u/josephh)\
**Post date:** [April 2, 2023, 10:22am UTC](https://discourse.processing.org/t/would-it-be-possible-to-create-a-triangular-application/41564/2 "2023-04-02T10:22:27Z")

</div>

Hi @nanto2016,

To make an undecorated window with a custom shape, you can see this previous post I did:

> [@Possible to change top bars layout? (window frame color)](https://discourse.processing.org/t/possible-to-change-top-bars-layout-window-frame-color/40914/2):
>
> Hi @Aryszin, In Windows, the title bar can be customized using the Windows API in C#: [Title bar customization - Windows apps | Microsoft Learn](https://learn.microsoft.com/en-us/windows/apps/develop/title-bar?tabs=wasdk) You can access the [java.awt.Frame](https://docs.oracle.com/javase/7/docs/api/java/awt/Frame.html) instance like this and modify it’s shape for example (you can make it transparent [here](https://docs.oracle.com/javase/tutorial/displayCode.html?code=https://docs.oracle.com/javase/tutorial/uiswing/examples/misc/ShapedWindowDemoProject/src/misc/ShapedWindowDemo.java)) : import processing.awt.PSurfaceAWT; import java.awt.Frame; import java.awt.geom.Ellipse2D; void setup() { size(500, 500); PSurfaceAWT.SmoothCanvas canvas = (PSurfaceAWT.SmoothCanvas)(surface.getNative()); Frame frame = ca…

---

_[View the full topic](https://discourse.processing.org/t/would-it-be-possible-to-create-a-triangular-application/41564)._
