#include "ofApp.h" void ofApp::setup() { ofBackground(8, 12, 18); samples = {0.12f, 0.48f, 0.91f, 0.63f, 0.31f, 0.72f}; } void ofApp::update() { // Source-first placeholder for a DataNet-powered draw loop. // Subscribe to demo.array.trail and replace `samples` with live payload data. } void ofApp::draw() { ofSetColor(180, 215, 255); const float width = ofGetWidth() / static_cast(std::max(1, samples.size())); for (std::size_t i = 0; i < samples.size(); ++i) { float h = samples[i] * ofGetHeight() * 0.7f; ofDrawRectangle(i * width + 16, ofGetHeight() - h - 16, width - 20, h); } }