# 3d cube in p5js (embedded in node-red Dashaboard)

**URL:** https://discourse.nodered.org/t/3d-cube-in-p5js-embedded-in-node-red-dashaboard/82059
**Category:** Dashboard
**Created:** [15 October 2023 19:59 UTC](https://discourse.nodered.org/t/3d-cube-in-p5js-embedded-in-node-red-dashaboard/82059 "2023-10-15T19:59:06Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![vongomben](https://avatars.discourse-cdn.com/v4/letter/v/a4c791/32.png) [@vongomben](https://discourse.nodered.org/u/vongomben)
#### Post date: [15 October 2023 19:59 UTC](https://discourse.nodered.org/t/3d-cube-in-p5js-embedded-in-node-red-dashaboard/82059/1 "2023-10-15T19:59:06Z")

</div>

Hi.

I'm trying to represent pitch heading and roll from an IMU on the node-red Dashboard.

I've found this [super convenient example](https://discourse.nodered.org/t/demo-on-how-to-display-graphics-p5-js-in-dashboard-widget/24437).

While I've adapted to point to a localhost broker, I'm still unable to map the behaviour of the bube on the paylod of the broker.

Any help?  
Sorry possibly I'm super tired froma working sunday...

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/a/f/afa076ab0d779500ecbd48486d3df8dea3470052.png)

[flows (7).json](https://discourse.nodered.org/uploads/short-url/fSE2Rrnh9AWbkrQqxwvOYc1NMg2.json) (18.4 KB)

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [14 November 2023 19:59 UTC](https://discourse.nodered.org/t/3d-cube-in-p5js-embedded-in-node-red-dashaboard/82059/2 "2023-11-14T19:59:12Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
