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
# coding: utf-8 | |
""" | |
Hello World | |
""" | |
#========== | |
# Main | |
import math, random |
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
console.log("main.js!!"); | |
const inputName = prompt("名前を入力してください"); | |
console.log("こんにちは,", inputName, "さん!!"); | |
const inputAge = prompt("年齢を入力してください"); | |
console.log("年齢は,", inputAge, "ですね"); | |
const numAge = parseInt(inputAge); | |
if(numAge < 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
#include <cstdlib> | |
#include <stdio.h> | |
#include <string> | |
#include <ctime> | |
#include <iostream> | |
/* | |
1, $brew install cmake | |
2, $cmake --version | |
3, $ cd your_project_folder |
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/957775 | |
const WHITE = "#ffffff"; | |
const BLACK = "#000000"; | |
const SCREEN = 100; // スクリーンまでの距離 | |
const points = [];// 3D空間の座標を格納する配列 |
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" | |
const WHITE = "#eeeeee"; | |
const BLACK = "#333333"; | |
const GRAY = "#777777"; | |
const RED = "#ff6624"; | |
const GREEN = "#66ff24"; | |
const BLUE = "#2466ff"; | |
const ROWS = 23;// 迷路の大きさ(行数) |
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
#!/bin/bash | |
# シェルスクリプトの実行と引数 | |
# $bash test.sh | |
# $bash test.sh hoge | |
# $bash test.sh hoge fuga | |
# $bash test.sh hoge fuga piyo | |
echo "Running $0" | |
echo "arg1: $1" |
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); |
NewerOlder