KITASENJU DESIGN BLOG

memo, html, javascript, unity

Entries from 2022-05-01 to 1 month

星形を描く

function setup() { createCanvas(300, 300, WEBGL); //fill(237, 34, 93); noFill(); } function draw() { background(220); beginShape(); let nn = 15; //vertex(0,0); for(let i=0;i

color pick

let img; let dom; let isInit=false; let isDown=false; function setup() { let c = createCanvas(100, 100); c.drawingContext.imageSmoothingEnabled=false; background(200); textAlign(CENTER); text('drop image', width / 2, height / 2); c.drop(go…

GUI.Button Style変える

private void OnGUI(){ if(_style==null){ _style = new GUIStyle(GUI.skin.button); _style.fontSize = 22; _style.normal.textColor = Color.white; } if( GUI.Button(new Rect(0, Screen.height-100, 100, 100),"[BALL]",_style) ){ for(int i=0;i

p5でcanvas直書きグラデ

p5.js Web Editor function setup() { frameRate(2); createCanvas(windowWidth, windowHeight); } function draw() { background(220); for(let i=0;i<40;i++){ drawBall(windowWidth*random(),windowHeight*random(),100*random()); } } function drawBall…

nftの辞書

トランザクション 前の持ち主との取引のハッシュ値と送り先のアドレスなどが含まれた、所有者の秘密鍵で電子署名したもの全体を言います。 直訳すると「取引」という意味ですが、ブロックチェーンでは「複数の処理をひとまとめにした取引」という意味で使わ…

"FOOTER"