Skip to content
Ryan24313 edited this page Oct 30, 2023 · 2 revisions

FormPix Features

FormPix

All websockets use
@sio.on('{name}')
def vbData():

What it does

Connect a classroom to the formbar server to edit the individual classroom. It allows each class to have separate features allowing each class to have different data and music. Adds background music, sound effect noises, and allows use of a remote control to manage to formbar.

Lightbar

Uses

  • Controls the lights inside of the class room
  • Displays the responses given from a given user
  • Takes poll data from server through websockets
  • Creates a unique color for up to 26 answers

Websockets

'vbData'
vbData accepts an object from the server with all users poll data in that specific class. That data is taken and converted to a more readable form using totalStudents() and changeData(). This data is then sent to changeLights() to update the lightbar in the classroom.

SFX

BGM

Remote Control

Clone this wiki locally