mirror of
https://github.com/interactive-matter/TMC26XStepper.git
synced 2026-03-13 09:01:30 +08:00
adding the motion control community logo to the graph
This commit is contained in:
@@ -57,7 +57,7 @@ void drawData() {
|
||||
//rect(plotLeft, plotBottom, plotRight, plotTop);
|
||||
|
||||
//place the logo into the data area
|
||||
image(TMCLogo,plotLeft+(plotRight - plotLeft-TMCLogo.width)/2,plotBottom+(plotTop - plotBottom-TMCLogo.height)/2);
|
||||
image(MCLogo,plotLeft+(plotRight - plotLeft-MCLogo.width)/2,plotBottom+(plotTop - plotBottom-MCLogo.height)/2);
|
||||
|
||||
strokeWeight(dataLineWidth);
|
||||
stroke(positionColor);
|
||||
|
||||
@@ -39,11 +39,13 @@ List controlElements = new LinkedList();
|
||||
List serialConfigElements = new LinkedList();
|
||||
|
||||
PImage TMCLogo;
|
||||
PImage MCLogo;
|
||||
|
||||
void setup() {
|
||||
size(1000, 800);
|
||||
//load the logo
|
||||
//load the logos
|
||||
TMCLogo=loadImage("tmc_logo.jpg");
|
||||
MCLogo=loadImage("mc_logo.jpg");
|
||||
|
||||
//create the UI
|
||||
controlP5 = new ControlP5(this);
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 40 KiB |
Reference in New Issue
Block a user