Skip to content

File Breakdown

Kyle Gauder edited this page Aug 19, 2016 · 1 revision

The CSS and JS files are split into pieces purely for organization.

CSS

  • bachmain - Background and main elements (intro text, Logo, titles, location of portraits and captions, album buttons, click and hover effects
  • extrabuttons - Extra menu buttons (Stop play button, Auto button, Cue Visualization, Piece Number select)
  • menulevels - Placement of menu, Fugue and Prelude, Keyboard wrapper,
  • pianokey - Keyboard itself, entirely in CSS. This is separated out so that it's easy to inject elsewhere.
  • scatterplot - Everything about the dropdown scatterplot under Cue Visualization
  • scoredisplay - Score images and Editor tabs on the right-hand side
  • tempoplot - Tempo plot on the bottom right, placement for the HTML canvas drawings, etc
  • screen_370 - Removes performer/editor caption on really small screens.
  • screen_550 - Mobile-version styling!

Javascript

  1. Initial Setup
  • I-pre - All initial properties and variable declaration.
  • I - The crux of the applet. Outlines prototypes that automatically build for whatever data is put in.
  1. Data Injection
  • II-Pieces - Stores object declarations for all the data using prototypes
  • II-Scores - Stores object declarations for all the pieces (to grab score images)
  1. Controls and Functionality
  • III - Codes all other functionality in the applet
  1. Final Settings
  • IV-Hotkeys - Hotkeys for easy-usage
  • IV-Init - Initializing settings to change appearance according to different app "modes"

Clone this wiki locally