top of page
Purple Smoke

Processing demo: Hotel room interface

This demo is a mouse-to-screen interaction. the goal was to create a hotel management interface that allows hotel staff to interact with guests through a screen on the door. this specific code uses the mouse to screen interaction and allows the individual to select an option from the provided. the bottom half is the output reflecting the top half selection.

Codes

void setup(){
  size(600,800);
  background(38,47,83);
  fill(222,217,210);
  stroke(222,217,210);
  rect(0,0,width,height,55);
  fill(178,171,162);
  stroke(178,171,162);
  rect(0,400,width,height,55);
  fill(38,47,83);
  textSize(32);
  text("HOTEL ROOM INTERFACE", 130, 600);
}

void draw(){

...

GIF.gif

Results

IMG_20220526_135014.png
bottom of page