Tumgik
#glassbody
withherbs · 3 months
Text
0 notes
dayb00k · 1 year
Text
Tumblr media
12 Jan 2023
day 12~ lake walk ✨️🌊🧜🏽‍♀️
This is a map drawn from memory, glistening, heady streaming speculum of echoes upon meager parchment,
burning in exile and erasure comes the sound of glass split in half, shards of chirping in the window, trickle of daylight and ash,
and the quickening pitch of the darkbody chiming, glassbody
breaking into sweat,
breaking into lake water,
amid its bruises and wildflowers, a wing sewn by hand, my hands tended like candles for a storm, in yours, fall through the night’s caesura
✨️🌊🧜🏽‍♀️
5 notes · View notes
aptbs · 4 years
Photo
Tumblr media
We are coming to Florida with four awesome shows lined up: Thursday Feb 6 West Palm Beach @ @respectablstreet with @glassbody_ & @ghstflwr & #deathbirds Friday Feb 7 Miami @grampswynowood FREE SHOW with @degreaserbk & @palomino_blond Saturday Feb 8  Jacksonville @ Winterland III @winterlandpresesnts at Rain Dogs with @surferblood & @theshivas & @9e_music & @feverbeam Sunday Feb 9 St. Petersburg @ Freak Love II @ Papercrane with @pleasures_pics & @3dchew & @fakenudes_official Tickets: Jacksonville:  https://www.eventbrite.com/e/winterland-iii-2020-tickets-89256940913 St. Petersburg: https://www.eventbrite.com/e/freaklove-ii-tickets-85537670475 . . . #floridatour #floriida #aptbs #aplacetoiburystrangers #winterlandfestival #winterlandpresents #westpalmbeach #jacksonville #miami #stpetersburg #gramps #respectablestreet #papercrane #raindogs #glassbody #ghostflower #deathbirds #9e #pleasuresband #surferblood #theshivas #feverbeam #freaklove #freaklovetwo (at Respectable Street) https://www.instagram.com/p/B7T6Vyfpxie/?igshid=10tjaz7d8se7x
1 note · View note
differentmalestuff · 6 years
Photo
Tumblr media
9 notes · View notes
t-kuo · 5 years
Photo
Tumblr media
Inktober - 21 drain 🌊 . . . . . . #inktober #inktober2018 #drain #day21 #flowingwater #glassbody #stairs #draining #spilling https://www.instagram.com/p/BpMz16jBwVQ/?utm_source=ig_tumblr_share&igshid=myhkxt6q08dg
1 note · View note
readablenoise · 4 years
Text
Seeable Noise: This Week’s Concert Guide (12/05/2019)
Tumblr media
Your guide to the best local music here, there and everywhere in Florida
West Palm Beach- Here at Readable Noise, we strive to provide you with pleasure for all your senses. And what better way than with great, raw and upcoming live music?
The chance to catch the best new thing ahead of the curve, and at their most explosive? And even better, right before the New Year/Decade to fill your playlists. Find below our best selections fresher than popped champagne, from December 5th to December 12th:
December 5th (Thursday):
Miami: Ghostflower & Glass Body @ Churchhill’s
Tumblr media
A dream show in the making, the combination of Ghostflower’s ethereal, heavenly and haunting vocals paired with Glass Body’s visceral punk explosion during Art Basel Week is one not to miss and on our high recommendation list. https://www.facebook.com/events/458654881453362/
Rhye @ N. Miami Beach Bandshell
Tumblr media
With serene and unduplicated composition as well as vocals, Rhye is something truly special. Mike Milosh knows how to craft hypnotic, beautiful songs and deliver them with all the smoothness of silk. We have seen the Canadian act perform before, and it’s still one of our fondest experiences, at a venue just as grand. https://www.facebook.com/events/2457351854548195/
West Palm Beach: The Guttertones @ Respectable Street
Tumblr media
The Guttertones have been on radar since their debut at Bumblefest earlier this year, and they should be on yours as well. With a White Stripes kick meets Southern honey dipped rock, they play with the power of seasoned players, and upon seeing the duo live, we know you will too https://www.facebook.com/events/470791993825863/
December 6th (Friday):
Miami: Ghostflower @ Churchill’s
Tumblr media
Want a double dose of the act, or just happened to miss their performance on the 5th? Here’s a perfect opportunity to experience them, and feel their ghostly charms... https://www.facebook.com/events/505463350055330/
Donzii @ The Ground
Tumblr media
It’s not unknown that we love this act. Undefinable and unrestrained, the post-punk/no-wave sound is truly magical, providing a performance like fireworks alongside enigmatic and Siouxsie Sioux-esque frontwoman, Jenna Balfe, arranging their own special brand of performance art alongside it. We recommend attending, rocking out, and getting ready to be amazed https://www.facebook.com/events/975242582824469/
West Palm Beach: Makoto @ Voltaire
Tumblr media
The post/instrumental rock group closed out Bumblefest at the Voltaire stage, and it’s our belief to this day, that they deserved headline status. Possessing an energy and enough compositional valleys to leave you in a euphoric tizzy. They return to the WPB venue with that same gusto to wow any and all who view them https://www.facebook.com/events/2854158761490864/
December 12th (Thursday)
West Palm Beach: Death of a Deity @ The Kelsey Theater
Tumblr media
The metal genre is a deep dive; with so many sub-genres and their own carrying tempos, it’s easy to unwittingly fall into repetition with riffs that cement a moshers ball to get the crowd going. Thankfully, none of the acts on the above bill fall into that category, and one that especially stands out is WPB’s own Death of a Deity. With layered Deftones guitars and an incredible powerhouse chemistry, we left their live performance with a renewed vigor of not only metal in general, but our hair a mess from headbanging with reckless abandon. https://www.facebook.com/events/474808113053597/
Miami: Donzii @ Gramps
Tumblr media
As with Ghostflower, in case you needed that extra Donzii love, or happened to miss their performance at The Ground, here is your double trouble opportunity to be amazed... https://www.facebook.com/events/972098376488801/
And so, we encourage you to go forth, rock out and come back with renewed playlists to rock out to...
(Words: Jenelle DeGuzman)
0 notes
callahrartist · 7 years
Photo
Tumblr media
Hi there :)
Another concept sketch with this “glass body” idea :)
Having fun with this sketches, and it’s been a challenge to create the glass like transparency effect, but not giving up yet!!
0 notes
patroclusonly · 4 years
Text
tagged by: @buckleysbabe thanks! <3
put any of your playlists on shuffle and expose the first five songs
I listen to music on soundcloud, so these might be weird
1. need - goldy47
2. i think i’m falling for you - finn haley
3. Acid Rain - Lorn (slowed) 
4. American Money -  BØRNS (Slowed + Pitched)
5. GLASSBODY -LUDICY (This one has mindgamers vibes and messes me up but it’s really cool)
tagging: @the-family-we-choose-118  @karenwilson @confessions-of-a-shipperholic (sorry if you didn’t want to be tagged or already did this!)
4 notes · View notes
yannichen · 5 years
Video
#6.05#pigeonbloodruby #noheat#glassbody#perfetcutting(在 Hidden Pirate Island) https://www.instagram.com/p/Buc4cEHnhHA/?utm_source=ig_tumblr_share&igshid=1i92rj7zv67lh
0 notes
globalprimer627 · 3 years
Text
Bluetooth Calling Waterproof Smart Watch for Women ,Fitness Tracker Blood Pressure,Smartwatch Compatible for Android & iOS & MIUI Business Sports IP67 Waterproof KRG
Bluetooth Calling Waterproof Smart Watch for Women ,Fitness Tracker Blood Pressure,Smartwatch Compatible for Android & iOS & MIUI Business Sports IP67 Waterproof KRG
Tap Here To View Product Details Description [Product Structure]Product Type: Smart BraceletWristband size: 245mm*20mm*2.0mmBody size: 32.5*41.5mm**9.9mmWeight: 46.5g [Display]Screen size: 1.65inchResolution: 240*295Touch form: full touchAssembly type: G+F [Shell Information]Size: 412327Capacity: 240mAhUpper cover: 2.5D tempered glassBody: Zinc AlloyClasp: Stainless steelStrap:…
Tumblr media
View On WordPress
0 notes
oua-ap · 5 years
Text
[Sample]タピオカショット
物理演算エンジンFisicaを使い、グラスにタピオカを入れるゲームを作ります。水色のエリアでドラッグすると、その方向にタピオカが飛んでいきます。残り時間が0になると、「GAME OVER」とグラスに入っている個数が表示されます。
Tumblr media
Fisicaのセットアップ
Tumblr media
こちらのペー���を参考に、Fisicaのセットアップを行います。この段階ではまだ黒い枠が表示されるだけです。
import fisica.*;//ライブラリのインポート
FWorld world;//物理演算を司るオブジェクト
void setup() {  size(1000, 1000);
 Fisica.init(this);//ライブラリを初期化
 world = new FWorld();//世界を司るオブジェクトを生成  world.setEdges();//ウィンドウの端に壁を作る }
void draw() {  background(255);
 world.step();//物理演算を進める  world.draw();//オブジェクトを描画 }
タピオカの画像を取り込む
Processingのメニューの[スケッチ] > [ファイルを追加...]から、tapioca_black.pngを選択する。スケッチフォルダの中にdataフォルダが作られ、その中に画像ファイルがコピーされる。スケッチフォルダは、Processingのメニューの[スケッチ] > [スケッチフォルダを開く]で確認できる。
Tumblr media
マウスでクリックしたところにタピオカを落とす
Tumblr media
import fisica.*;//ライブラリのインポート
FWorld world;//物理演算を司るオブジェクト
PImage tapiocaImage;//タピオカの画像 float tapiocaSize;//タピオカの大きさ
void setup() {  size(1000, 1000);
 Fisica.init(this);//ライブラリを初期化
 world = new FWorld();//世界を司るオブジェクトを生成  world.setEdges();//ウィンドウの端に壁を作る
 tapiocaSize = 50;//タピオカの大きさ  tapiocaImage = loadImage("tapioca_black.png");//タピオカの画像  tapiocaImage.resize(int(tapiocaSize), int(tapiocaSize));//画像サイズを円にあわせる }
void draw() {  background(255);
 world.step();//物理演算を進める  world.draw();//オブジェクトを描画 }
void mouseReleased() {  FCircle circle = new FCircle( tapiocaSize );//タピオカの大きさの円を作る  circle.setPosition(mouseX, mouseY);//マウスの位置に移動  circle.attachImage(tapiocaImage);//円に画像を貼り付ける。  world.add(circle);//物理演算に円を登録する }
ドラッグしてタピオカを飛ばす
Tumblr media
マウスのボタンを押した場所と離した場所を比較して、その方向の力を物体に加える。
import fisica.*;//ライブラリのインポート
FWorld world;//物理演算を司るオブジェクト
PImage tapiocaImage;//タピオカの画像 float tapiocaSize;//タピオカの大きさ
PVector pressPos;//マウスをクリックした位置 boolean isDrag;//ドラッグ中のフラグ
void setup() {  size(1000, 1000);
 Fisica.init(this);//ライブラリを初期化
 world = new FWorld();//世界を司るオブジェクトを生成  world.setEdges();//ウィンドウの端に壁を作る
 tapiocaSize = 50;//タピオカの大きさ  tapiocaImage = loadImage("tapioca_black.png");//タピオカの画像  tapiocaImage.resize(int(tapiocaSize), int(tapiocaSize));//画像サイズを円にあわせる
 isDrag = false; }
void draw() {  background(255);
 world.step();//物理演算を進める  world.draw();//オブジェクトを描画
 if ( isDrag ) {//ドラッグ中ならば、    stroke( 255, 127, 0 );    strokeWeight(2);    line( pressPos.x, pressPos.y, mouseX, mouseY );    image( tapiocaImage, mouseX-tapiocaSize/2, mouseY-tapiocaSize/2, tapiocaSize, tapiocaSize );  } }
void mousePressed() {  isDrag = true;  pressPos = new PVector( mouseX, mouseY ); }
void mouseReleased() {  isDrag = false;  FCircle circle = new FCircle( tapiocaSize );//タピオカの大きさの円を作る  circle.setPosition(mouseX, mouseY);//マウスの位置に移動  circle.attachImage(tapiocaImage);//円に画像を貼り付ける。  circle.addForce( (pressPos.x - mouseX )*3000, (pressPos.y - mouseY)*3000 );//クリックした位置と、現在のマウスの位置を比較して、物体に力を加える  world.add(circle);//物理演算に円を登録する }
グラスを表示する
グラスの画像(glassware05.png)をスケッチに取り込む。
Tumblr media
グラスの画像を読み込み背景に表示します。この段階では、画像として表示されるだけなので当たり判定はありません。
Tumblr media
import fisica.*;//ライブラリのインポート
FWorld world;//物理演算を司るオブジェクト
PImage tapiocaImage;//タピオカの画像 float tapiocaSize;//タピオカの大きさ
PVector pressPos;//マウスをクリックした位置 boolean isDrag;//ドラッグ中のフラグ
PImage glassImage;//グラスの画像
void setup() {  size(1000, 1000);
 Fisica.init(this);//ライブラリを初期化
 world = new FWorld();//世界を司るオブジェクトを生成  world.setEdges();//ウィンドウの端に壁を作る
 tapiocaSize = 50;//タピオカの大きさ  tapiocaImage = loadImage("tapioca_black.png");//タピオカの画像  tapiocaImage.resize(int(tapiocaSize), int(tapiocaSize));//画像サイズを円にあわせる
 isDrag = false;
 glassImage = loadImage("glassware05.png");//グラスの画像 }
void draw() {  background(255);  image( glassImage, 344, 500, 172*2, 250*2 );//背景画像を表示
 world.step();//物理演算を進める  world.draw();//オブジェクトを描画
 if ( isDrag ) {//ドラッグ中ならば、    stroke( 255, 127, 0 );    strokeWeight(2);    line( pressPos.x, pressPos.y, mouseX, mouseY );    image( tapiocaImage, mouseX-tapiocaSize/2, mouseY-tapiocaSize/2, tapiocaSize, tapiocaSize );  } }
void mousePressed() {  isDrag = true;  pressPos = new PVector( mouseX, mouseY ); }
void mouseReleased() {  isDrag = false;  FCircle circle = new FCircle( tapiocaSize );//タピオカの大きさの円を作る  circle.setPosition(mouseX, mouseY);//マウスの位置に移動  circle.attachImage(tapiocaImage);//円に画像を貼り付ける。  circle.addForce( (pressPos.x - mouseX )*3000, (pressPos.y - mouseY)*3000 );//クリックした位置と、現在のマウスの位置を比較して、物体に力を加える  world.add(circle);//物理演算に円を登録する }
グラスの当たり判定を加える
Tumblr media
グラスの当たり判定を指定します。vertex( x, y );で指定した図形を作り、固定する設定を行います。
次の2行のコメントアウトを外すと、表示されなくなり、当たり判定だけが残ります。
glassBody.setNoFill();//塗りを非表示 glassBody.setNoStroke();//線を非表示
import fisica.*;//ライブラリのインポート
FWorld world;//物理演算を司るオブジェクト
PImage tapiocaImage;//タピオカの画像 float tapiocaSize;//タピオカの大きさ
PVector pressPos;//マウスをクリックした位置 boolean isDrag;//ドラッグ中のフラグ
PImage glassImage;//グラスの画像
void setup() {  size(1000, 1000);
 Fisica.init(this);//ライブラリを初期化
 world = new FWorld();//世界を司るオブジェクトを生成  world.setEdges();//ウィンドウの端に壁を作る
 tapiocaSize = 50;//タピオカの大きさ  tapiocaImage = loadImage("tapioca_black.png");//タピオカの画像  tapiocaImage.resize(int(tapiocaSize), int(tapiocaSize));//画像サイズを円にあわせる
 isDrag = false;
 glassImage = loadImage("glassware05.png");//グラスの画像
 FPoly glassBody = new FPoly();//グラスの形状  glassBody.vertex(380, 560);  glassBody.vertex(400, 910);  glassBody.vertex(630, 910);  glassBody.vertex(650, 560);  glassBody.vertex(640, 560);  glassBody.vertex(620, 900);  glassBody.vertex(410, 900);  glassBody.vertex(390, 560);  glassBody.setStatic(true);//固定する  //glassBody.setNoFill();//塗りを非表示  //glassBody.setNoStroke();//線を非表示  world.add(glassBody);//ワールドに追加 }
void draw() {  background(255);  image( glassImage, 344, 500, 172*2, 250*2 );//背景画像を表示
 world.step();//物理演算を進める  world.draw();//オブジェクトを描画
 if ( isDrag ) {//ドラッグ中ならば、    stroke( 255, 127, 0 );    strokeWeight(2);    line( pressPos.x, pressPos.y, mouseX, mouseY );    image( tapiocaImage, mouseX-tapiocaSize/2, mouseY-tapiocaSize/2, tapiocaSize, tapiocaSize );  } }
void mousePressed() {  isDrag = true;  pressPos = new PVector( mouseX, mouseY ); }
void mouseReleased() {  isDrag = false;  FCircle circle = new FCircle( tapiocaSize );//タピオカの大きさの円を作る  circle.setPosition(mouseX, mouseY);//マウスの位置に移動  circle.attachImage(tapiocaImage);//円に画像を貼り付ける。  circle.addForce( (pressPos.x - mouseX )*3000, (pressPos.y - mouseY)*3000 );//クリックした位置と、現在のマウスの位置を比較して、物体に力を加える  world.add(circle);//物理演算に円を登録する }
制限時間を設ける
Tumblr media
制限時間を設けて、0になったらGAME OVERと表示します。
import fisica.*;//ライブラリのインポート
FWorld world;//物理演算を司るオブジェクト PImage tapiocaImage;//タピオカの画像 float tapiocaSize;//タピオカの大きさ PVector pressPos;//マウスをクリックした位置 boolean isDrag;//ドラッグ中のフラグ PImage glassImage;//グラスの画像
int limitTime;//制限時間 int startTime;//開始時間 boolean isOver;//ゲームオーバーしているかどうか
void setup() {  size(1000, 1000);
 Fisica.init(this);//ライブラリを初期化
 world = new FWorld();//世界を司るオブジェクトを生成  world.setEdges();//ウィンドウの端に壁を作る
 tapiocaSize = 50;//タピオカの大きさ  tapiocaImage = loadImage("tapioca_black.png");//タピオカの画像  tapiocaImage.resize(int(tapiocaSize), int(tapiocaSize));//画像サイズを円にあわせる
 isDrag = false;
 glassImage = loadImage("glassware05.png");//グラスの画像
 FPoly glassBody = new FPoly();//グラスの形状  glassBody.vertex(380, 560);  glassBody.vertex(400, 910);  glassBody.vertex(630, 910);  glassBody.vertex(650, 560);  glassBody.vertex(640, 560);  glassBody.vertex(620, 900);  glassBody.vertex(410, 900);  glassBody.vertex(390, 560);  glassBody.setStatic(true);//固定する  glassBody.setNoFill();//塗りを非表示  glassBody.setNoStroke();//線を非表示  world.add(glassBody);//ワールドに追加
 limitTime = 30000;//制限時間  startTime = millis();//開始時間 }
void draw() {  if ( isOver == false ) {    background(255);    image( glassImage, 344, 500, 172*2, 250*2 );//背景画像を表示
   world.step();//物理演算を進める    world.draw();//オブジェクトを描画
   if ( isDrag ) {//ドラッグ中ならば、      stroke( 255, 127, 0 );      strokeWeight(2);      line( pressPos.x, pressPos.y, mouseX, mouseY );      image( tapiocaImage, mouseX-tapiocaSize/2, mouseY-tapiocaSize/2, tapiocaSize, tapiocaSize );    }
   int durationTime =  millis() - startTime;//開始時間から現在時間を引いて、経過時間を求める    int remainingTime = limitTime - durationTime;//制限時間から経過時間を引いて、残り時間を求める
   fill(0);    textAlign(CENTER);    textSize( 50 );    text( remainingTime/1000, width/2, 100 );//タピオカの残り数を表示
   if ( remainingTime <= 0 ) {//残り時間が0以下になったら、      gameOver();//ゲームオーバーの処理    }  } }
void mousePressed() {  isDrag = true;  pressPos = new PVector( mouseX, mouseY ); }
void mouseReleased() {  isDrag = false;  FCircle circle = new FCircle( tapiocaSize );//タピオカの大きさの円を作る  circle.setPosition(mouseX, mouseY);//マウスの位置に移動  circle.attachImage(tapiocaImage);//円に画像を貼り付ける。  circle.addForce( (pressPos.x - mouseX )*3000, (pressPos.y - mouseY)*3000 );//クリックした位置と、現在のマウスの位置を比較して、物体に力を加える  world.add(circle);//物理演算に円を登録する }
void gameOver() {  isOver = true;  fill(255, 0, 0);  textAlign(CENTER);  textSize( 100 );  text("GAME OVER", width/2, height/2 );//ゲームオーバーの表示 }
グラスに入った個数を数える
Tumblr media
制限時間になったときに、グラスに入っている個数を数えて表示します。
ArrayList bodys = world.getBodies();
この行で、worldに登録されているオブジェクトの配列(ArrayList)を取得します。
for ( Object object : bodys ) { }
for文をこのように書くとArrayListに含まれる項目がobjectとして取り出され、すべてのオブジェクトに操作を行うことができます。
if ( x>400 && x<640 && y>560 && y<900 ) {//グラスの範囲内ならば、      count++;//カウントを1増やす    }
とりだしたオブジェクトの座標が、グラスの範囲内ならカウントを1増やします。すべてをチェックすると入っている個数がわかります。
import fisica.*;//ライブラリのインポート
FWorld world;//物理演算を司るオブジェクト PImage tapiocaImage;//タピオカの画像 float tapiocaSize;//タピオカの大きさ PVector pressPos;//マウスをクリックした位置 boolean isDrag;//ドラッグ中のフラグ PImage glassImage;//グラスの画像
int limitTime;//制限時間 int startTime;//開始時間 boolean isOver;//ゲームオーバーしているかどうか
void setup() {  size(1000, 1000);
 Fisica.init(this);//ライブラリを初期化
 world = new FWorld();//世界を司るオブジェクトを生成  world.setEdges();//ウィンドウの端に壁を作る
 tapiocaSize = 50;//タピオカの大きさ  tapiocaImage = loadImage("tapioca_black.png");//タピオカの画像  tapiocaImage.resize(int(tapiocaSize), int(tapiocaSize));//画像サイズを��にあわせる
 isDrag = false;
 glassImage = loadImage("glassware05.png");//グラスの画像
 FPoly glassBody = new FPoly();//グラスの形状  glassBody.vertex(380, 560);  glassBody.vertex(400, 910);  glassBody.vertex(630, 910);  glassBody.vertex(650, 560);  glassBody.vertex(640, 560);  glassBody.vertex(620, 900);  glassBody.vertex(410, 900);  glassBody.vertex(390, 560);  glassBody.setStatic(true);//固定する  glassBody.setNoFill();//塗りを非表示  glassBody.setNoStroke();//線を非表示  world.add(glassBody);//ワールドに追加
 limitTime = 30000;//制限時間  startTime = millis();//開始時間 }
void draw() {  if ( isOver == false ) {    background(255);    image( glassImage, 344, 500, 172*2, 250*2 );//背景画像を表示
   world.step();//物理演算を進める    world.draw();//オブジェクトを描画
   if ( isDrag ) {//ドラッグ中ならば、      stroke( 255, 127, 0 );      strokeWeight(2);      line( pressPos.x, pressPos.y, mouseX, mouseY );      image( tapiocaImage, mouseX-tapiocaSize/2, mouseY-tapiocaSize/2, tapiocaSize, tapiocaSize );    }
   int durationTime =  millis() - startTime;//開始時間から現在時間を引いて、経過時間を求める    int remainingTime = limitTime - durationTime;//制限時間から経過時間を引いて、残り時間を求める
   fill(0);    textAlign(CENTER);    textSize( 50 );    text( remainingTime/1000, width/2, 100 );//タピオカの残り数を表示
   if ( remainingTime <= 0 ) {//残り時間が0以下になったら、      gameOver();//ゲームオーバーの処理    }  } }
void mousePressed() {  isDrag = true;  pressPos = new PVector( mouseX, mouseY ); }
void mouseReleased() {  isDrag = false;  FCircle circle = new FCircle( tapiocaSize );//タピオカの大きさの円を作る  circle.setPosition(mouseX, mouseY);//マウスの位置に移動  circle.attachImage(tapiocaImage);//円に画像を貼り付ける。  circle.addForce( (pressPos.x - mouseX )*3000, (pressPos.y - mouseY)*3000 );//クリックした位置と、現在のマウスの位置を比較して、物体に力を加える  world.add(circle);//物理演算に円を登録する }
void gameOver() {  isOver = true;  fill(255, 0, 0);  textAlign(CENTER);  textSize( 100 );  text("GAME OVER", width/2, height/2 );//ゲームオーバーの表示
 textSize( 100 );  text( countInside(), width/2, height/2+100 );//グラスに入っているタピオカの数を表示 }
int countInside() {  ArrayList bodys = world.getBodies();//すべての物理オブジェクトを取り出す  int count = 0;  for ( Object object : bodys ) {    FBody body = (FBody)object;    float x  = body.getX();//位置を取り出す    float y  = body.getY();    if ( x>400 && x<640 && y>560 && y<900 ) {//グラスの範囲内ならば、      count++;//カウントを1増やす    }  }  return count;//グラス範囲内の数を返す }
操作できる範囲を制限する
Tumblr media
ゲーム性を加えるため、画面の下半分だけ操作できるように制限します。
import fisica.*;//ライブラリのインポート
FWorld world;//物理演算を司るオブジェクト PImage tapiocaImage;//タピオカの画像 float tapiocaSize;//タピオカの大きさ PVector pressPos;//マウスをクリックした位置 boolean isDrag;//ドラッグ中のフラグ PImage glassImage;//グラスの画像 int limitTime;//制限時間 int startTime;//開始時間 boolean isOver;//ゲームオーバーしているかどうか
int operationalHeight;//タピオカを作れる範囲
void setup() {  size(1000, 1000);
 Fisica.init(this);//ライブラリを初期化
 world = new FWorld();//世界を司るオブジェクトを生成  world.setEdges();//ウィンドウの端に壁を作る
 tapiocaSize = 50;//タピオカの大きさ  tapiocaImage = loadImage("tapioca_black.png");//タピオカの画像  tapiocaImage.resize(int(tapiocaSize), int(tapiocaSize));//画像サイズを円にあわせる
 isDrag = false;
 glassImage = loadImage("glassware05.png");//グラスの画像
 FPoly glassBody = new FPoly();//グラスの形状  glassBody.vertex(380, 560);  glassBody.vertex(400, 910);  glassBody.vertex(630, 910);  glassBody.vertex(650, 560);  glassBody.vertex(640, 560);  glassBody.vertex(620, 900);  glassBody.vertex(410, 900);  glassBody.vertex(390, 560);  glassBody.setStatic(true);//固定する  glassBody.setNoFill();//塗りを非表示  glassBody.setNoStroke();//線を非表示  world.add(glassBody);//ワールドに追加
 limitTime = 30000;//制限時間  startTime = millis();//開始時間
 operationalHeight = 600;//タピオカを作れる高さ }
void draw() {  if ( isOver == false ) {    background(255);
   noStroke();    fill( 216, 255, 236 );    rect( 0, operationalHeight, width, height-operationalHeight );//操作できるエリアを塗りつぶす
   image( glassImage, 344, 500, 172*2, 250*2 );//背景画像を表示
   world.step();//物理演算を進める    world.draw();//オブジェクトを描画
   if ( isDrag ) {//ドラッグ中ならば、      stroke( 255, 127, 0 );      strokeWeight(2);      line( pressPos.x, pressPos.y, mouseX, mouseY );      image( tapiocaImage, mouseX-tapiocaSize/2, mouseY-tapiocaSize/2, tapiocaSize, tapiocaSize );    }
   int durationTime =  millis() - startTime;//開始時間から現在時間を引いて、経過時間を求める    int remainingTime = limitTime - durationTime;//制限時間から経過時間を引いて、残り時間を求める
   fill(0);    textAlign(CENTER);    textSize( 50 );    text( remainingTime/1000, width/2, 100 );//タピオカの残り数を表示
   if ( remainingTime <= 0 ) {//残り時間が0以下になったら、      gameOver();//ゲームオーバーの処理    }  } }
void mousePressed() {  if ( mouseY > operationalHeight) {    isDrag = true;    pressPos = new PVector( mouseX, mouseY );  } }
void mouseReleased() {  if ( isDrag ) {
   isDrag = false;    FCircle circle = new FCircle( tapiocaSize );//タピオカの大きさの円を作る    circle.setPosition(mouseX, mouseY);//マウスの位置に移動    circle.attachImage(tapiocaImage);//円に画像を貼り付ける。    circle.addForce( (pressPos.x - mouseX )*3000, (pressPos.y - mouseY)*3000 );//クリックした位置と、現在のマウスの位置を比較して、物体に力を加える    world.add(circle);//物理演算に円を登録する  } }
void gameOver() {  isOver = true;  fill(255, 0, 0);  textAlign(CENTER);  textSize( 100 );  text("GAME OVER", width/2, height/2 );//ゲームオーバーの表示
 textSize( 100 );  text( countInside(), width/2, height/2+100 );//グラスに入っているタピオカの数を表示 }
int countInside() {  ArrayList bodys = world.getBodies();//すべての物理オブジェクトを取り出す  int count = 0;  for ( Object object : bodys ) {    FBody body = (FBody)object;    float x  = body.getX();//位置を取り出す    float y  = body.getY();    if ( x>400 && x<640 && y>560 && y<900 ) {//グラスの範囲内ならば、      count++;//カウントを1増やす    }  }  return count;//グラス範囲内の数を返す }
0 notes
inclinationkloud · 7 years
Audio
0 notes
aptbs · 4 years
Photo
Tumblr media
We are coming to Florida with four awesome shows lined up: Thursday Feb 6 West Palm Beach @ @respectablstreet with @glassbody_ & @ghstflwr & #deathbirds Friday Feb 7 Miami @grampswynowood FREE SHOW with @degreaserbk & @palomino_blond Saturday Feb 8  Jacksonville @ Winterland III @winterlandpresesnts at Rain Dogs with @surferblood & @theshivas & @9e_music & @feverbeam Sunday Feb 9 St. Petersburg @ Freak Love II @ Papercrane with @pleasures_pics & @3dchew & @fakenudes_official Tickets: West Palm Beach: https://www.eventbrite.com/e/a-place-to-bury-strangers-tickets-90013192883 Jacksonville:  https://www.eventbrite.com/e/winterland-iii-2020-tickets-89256940913 St. Petersburg: https://www.eventbrite.com/e/freaklove-ii-tickets-85537670475 . . #floridatour #floriida #aptbs #aplacetoiburystrangers #winterlandfestival #winterlandpresents #westpalmbeach #jacksonville #miami #stpetersburg #gramps #respectablestreet #papercrane #raindogs #glassbody #ghostflower #deathbirds #9e #pleasuresband #surferblood #theshivas #feverbeam #freaklove #freaklovetwo (at Respectable Street) https://www.instagram.com/p/B7mERxbJ2Rf/?igshid=178ozmqis1ca6
0 notes
differentmalestuff · 6 years
Photo
Tumblr media
9 notes · View notes
commonhits · 10 years
Video
vimeo
Soft as Snow - Halo Heart
0 notes
musicbigandsmall · 10 years
Video
vimeo
Soft as Snow - Halo Heart (Official Video)
2 notes · View notes