Best way to re-size the sketch to fit various device sizes

edited September 2014 in How To...

We are trying to develop a multi platform web app for displaying sensor data. Pls take a look at www.phonelabs.net/b

We are not sure how best to scale our apps to fit various display sizes. We like to keep the processing app simple as hig-shcool students will be modifying it. It will be best we can mange the re-size issues within the Index file.

Tagged:

Answers

  • "within the Index file"
    Not sure what this file is.

    To fit various display sizes, you should avoid absolute measures, but scale everything proportionally to the width and height variables, set by a call to size().

Sign In or Register to comment.