This file contains 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
let ball = new Entity() | |
ball.addComponent(new GLTFShape("models/ball.glb")) | |
ball.addComponent(new Transform({ | |
position: new Vector3(3, 1, 3), | |
scale: new Vector3(1, 1, 1) | |
})) | |
engine.addEntity(ball) |
This file contains 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
let ball = new Entity() | |
ball.addComponent(new GLTFShape("models/ball.glb")) | |
ball.addComponent(new Transform({ | |
position: new Vector3(3, 1, 3), | |
scale: new Vector3(10, 10, 10) | |
})) | |
engine.addEntity(ball) |
This file contains 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
let ball = new Entity() | |
ball.addComponent(new GLTFShape("models/ball.glb")) | |
ball.addComponent(new Transform({ | |
position: new Vector3(3, 1, 3), | |
scale: new Vector3(10, 10, 10) | |
})) | |
engine.addEntity(avocado) |
This file contains 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
mkdir C:\Users\tomok\test\Hypno-wheels-master | |
cd C:\Users\tomok\test\Hypno-wheels-master |
This file contains 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
dcl start |
This file contains 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
mkdir test | |
cd test |
This file contains 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
dcl init |
This file contains 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
npm install -g decentraland |
This file contains 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
@media | |
(max-width: 767px){ | |
.page-archive .entry-description { | |
display: none; | |
} | |
} |
This file contains 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
int val=0; //入力される値を格納する為の変数 | |
int ledVal = 0; //LEDに出力する値の変数 | |
void setup() { | |
Serial.begin(9800); //モニターに出力するための設定 | |
} | |
void loop() { | |
//ANALOG INの0番ピンからデータを受け付ける | |
val=analogRead(0); | |
ledVal = val/4; //LED出力用の値を変数に格納 | |
Serial.println(ledVal); //入力された値をモニターに出力 |
NewerOlder