<commit_before>/**
 * MicroView Stickman
 * This draws a stickman on the MicroView
 *
 * Licence: MIT
 * Creation: Original May 13, 2015
 * Copyright 2015 <NAME>
 */

#include <MicroView.h>
#include "Geometry.h"

int SCREEN_WIDTH = uView.getLCDWidth();
int SCREEN_HEIGHT = uView.getLCDHeight();

int CENTER_X = SCREEN_WIDTH/2;
int CENTER_Y = SCREEN_HEIGHT/2;

int HeadSize = 12;
int BodyHeight = 14;
int LegHeight = 22;
int LegSplit = 10;
int ArmLength = 7;
int ForearmLength = 8;
int NeckHeight = 4;
int TotalHeight = LegHeight+BodyHeight+HeadSize;

void setup() {
   uView.begin();
   uView.clear(ALL);
   uView.display();
}

void loop() {
   uView.clear(PAGE);

   Point origin = { .x = CENTER_X, .y = CENTER_Y };

   drawBody(origin);
   drawHead(origin);
   drawLeg(origin, LimbLeft);
   drawLeg(origin, LimbRight);
   drawArm(origin, LimbLeft, 50, 30);
   drawArm(origin, LimbRight, 7, -60);

   uView.display();
}
<commit_msg>Added const<commit_after>/**
 * MicroView Stickman
 * This draws a stickman on the MicroView
 *
 * Licence: MIT
 * Creation: Original May 13, 2015
 * Copyright 2015 <NAME>
 */

#include <MicroView.h>
#include "Geometry.h"

const int SCREEN_WIDTH = uView.getLCDWidth();
const int SCREEN_HEIGHT = uView.getLCDHeight();

const int CENTER_X = SCREEN_WIDTH/2;
const int CENTER_Y = SCREEN_HEIGHT/2;

const int HeadSize = 12;
const int BodyHeight = 14;
const int LegHeight = 22;
const int LegSplit = 10;
const int ArmLength = 7;
const int ForearmLength = 8;
const int NeckHeight = 4;
const int TotalHeight = LegHeight+BodyHeight+HeadSize;

void setup() {
   uView.begin();
   uView.clear(ALL);
   uView.display();
}

void loop() {
   uView.clear(PAGE);

   Point origin = { .x = CENTER_X, .y = CENTER_Y };

   drawBody(origin);
   drawHead(origin);
   drawLeg(origin, LimbLeft);
   drawLeg(origin, LimbRight);
   drawArm(origin, LimbLeft, 50, 30);
   drawArm(origin, LimbRight, 7, -60);

   uView.display();
}

{'fraction_non_alphanumeric': 0.12913223140495866, 'fraction_numerical': 0.030991735537190084, 'mean_word_length': 4.044270833333333, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3178704', 'n_tokens_mistral': 774, 'n_tokens_neox': 707, 'n_words': 191}