- Android Studio
- A cloned version of AniTrend
- Knowing how to run your own build of AniTrend
- Primary color
| void drawGlyph(int startX, int startY, int stepSize) { | |
| for (int i = 0; i < 3; i++) { | |
| for (int j = 0; j < 3; j++) { | |
| int orientation = int(random(2)); | |
| int currX = startX + (i * stepSize); | |
| int currY = startY + (j * stepSize); | |
| if (orientation == 0) { | |
| // Draw left diagonal | |
| line(currX, currY, currX + stepSize, currY + stepSize); | |
| } |
| import re | |
| import random | |
| import numpy as np | |
| import matplotlib.pyplot as plt | |
| input_filename = "data.txt" | |
| output_filename = "output.png" | |
| procs = [] | |
| proc_num = 0 |
| #ifndef MINHEAP_H | |
| #define MINHEAP_H | |
| #include <vector> | |
| #include <utility> | |
| #include <stdexcept> | |
| template <class T> | |
| class MinHeap { | |
| public: |
| #ifndef MSORT_H | |
| #define MSORT_H | |
| #include <vector> | |
| #include <utility> | |
| template <class T, class Comparator> | |
| void mergeSort(std::vector<T>& myArray, int k, Comparator comp) { | |
| mergeHelper(myArray, k, comp, 0, (int)myArray.size()-1); | |
| } |