This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"use strict" | |
// URL: https://openprocessing.org/sketch/2288416 | |
const WHITE = "#eeeeee"; | |
const BLACK = "#333333"; | |
const RED = "#dd6624"; | |
const ROWS = 13;// 迷路の大きさ(行数) | |
const COLS = 13;// 迷路の大きさ(列数) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"use strict" | |
// URL: https://openprocessing.org/sketch/2288405 | |
const WHITE = "#eeeeee"; | |
const BLACK = "#333333"; | |
const RED = "#dd6624"; | |
const ROWS = 13;// 迷路の大きさ(行数) | |
const COLS = 13;// 迷路の大きさ(列数) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"use strict" | |
// URL: https://openprocessing.org/sketch/2288369 | |
const WHITE = "#eeeeee"; | |
const BLACK = "#333333"; | |
const RED = "#dd6624"; | |
const ROWS = 13;// 迷路の大きさ(行数) | |
const COLS = 13;// 迷路の大きさ(列数) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"use strict" | |
// URL: https://openprocessing.org/sketch/2283736 | |
const WHITE = "#eeeeee"; | |
const BLACK = "#2f6690"; | |
function setup(){ | |
createCanvas(windowWidth, windowHeight); | |
angleMode(DEGREES); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"use strict" | |
// URL: https://openprocessing.org/sketch/2281136 | |
const WHITE = "#eeeeee"; | |
const BLACK = "#2f6690"; | |
function setup(){ | |
createCanvas(windowWidth, windowHeight); | |
angleMode(DEGREES); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"use strict" | |
// URL: https://openprocessing.org/sketch/2279929 | |
const WHITE = "#eeeeee"; | |
const BLACK = "#2f6690"; | |
function setup(){ | |
createCanvas(windowWidth, windowHeight); | |
angleMode(DEGREES); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"use strict" | |
// URL: https://openprocessing.org/sketch/2278937 | |
const WHITE = "#eeeeee"; | |
const BLACK = "#2f6690"; | |
function setup(){ | |
createCanvas(windowWidth, windowHeight); | |
angleMode(DEGREES); noLoop(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//========== | |
// 数値から文字列への変換 | |
// 1, Compile | |
// g++ -std=c++17 -Wall -Wextra main.cpp | |
// 2, Run | |
// ./a.out | |
#include <math.h> | |
#include <stdio.h> | |
#include <string> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//========== | |
// 任意個数の要素をコンテナに追加 | |
// 1, Compile | |
// g++ -std=c++17 -Wall -Wextra main.cpp | |
// 2, Run | |
// ./a.out | |
#include <math.h> | |
#include <stdio.h> | |
#include <vector> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "Mtx3xX.h" | |
bool Mtx3x3::operator==(const Mtx3x3 &rhs) const{ | |
for(size_t r=0; r<size; r++){ | |
for(size_t c=0; c<size; c++){ | |
if(mtx[r][c] != rhs.mtx[r][c]) return false; | |
} | |
} | |
return true; | |
} |