-
51.
0end function (); //beyler uplamayı bitirdim
-
52.
0adam mal beyler
-
53.
0up up up sana girsin huur
-
54.
0@18 verdim şukunu
@1 seni de ihmal etmedim bin -
55.
0up up up sevdim bu başlığı
-
56.
0import traer. physics.*;
ParticleSystem psys;
Particle p1,p2,p3,p4;
Spring s,t,u;
float centerx, centery;
void setup()
{
colorMode(HSB);
size (600,600);
smooth();
background(230);
stroke(0,20);
strokeWeight(1);
psys= new ParticleSystem(0.0035,0.00001);
p1=psys. makeParticle(10*random(0.6,1.4),50,height,0);
p2=psys. makeParticle(10*random(0.6,1.4),200,height,0);
p3=psys. makeParticle(10*random(0.6,1.4),400,height,0);
p4=psys. makeParticle(10*random(0.6,1.4),550,height,0);
s=psys. makeSpring(p1,p2,0.001,0.001,100+random(-20,20));
t=psys. makeSpring(p2,p3,0.001,0.001,100+random(-20,20));
u=psys. makeSpring(p4,p3,0.001,0.001,100+random(-20,20));
p1.makeFree();
p2.makeFree();
p3.makeFree();
p4.makeFree();
p1.velocity().set(random(-0.6,0.6),-random(0.3,0.8),0);
p2.velocity().set(random(-0.6,0.6),-random(0.5,0.8),0);
p3.velocity().set(random(-0.6,0.6),-random(0.5,0.8),0);
p4.velocity().set(random(-0.6,0.6),-random(0.3,0.8),0);
noFill();
}
void draw(){
psys. tick();
stroke(abs(p2.position().x()-p3.position().x()), constrain(0.3* abs(p3.position().x()-p4.position().y()),30,100), constrain(abs(p3.position().x()-p4.position().y()),0,150),20);
curve(0,height/2,p1.position().x(),p1.position().y(),p2.position().x(),p2.position().y(),p3.position().x(),p3.position().y());
curve(p1.position().x(),p1.position().y(),p2.position().x(),p2.position().y(),p3.position().x(),p3.position().y(),p4.position().x(),p4.position().y());
curve(p2.position().x(),p2.position().y(),p3.position().x(),p3.position().y(),p4.position().x(),p4.position().y(),width, height/2);
handleBoundaryCollisions(p1);
handleBoundaryCollisions(p2);
handleBoundaryCollisions(p3);
handleBoundaryCollisions(p4);
}
void mouseReleased(){
setup();
}
void handleBoundaryCollisions( Particle p )
{
if ( p.position().x() < 0 || p.position().x() > width )
p.velocity().set( -0.95*p.velocity().x(), p.velocity().y(), 0 );
if ( p.position().y() < 0 || p.position().y() > height )
p.velocity().set( p.velocity().x(), -0.95*p.velocity().y(), 0 );
p.position().set( constrain( p.position().x(), 0, width ), constrain( p.position().y(), 0, height ), 0 ) -
57.
0buyrun beyler bunu uplamak istediğiniz konunun altına yazıyorsunuz konu otomatik olarak uplanıyor
import traer. physics.*;
ParticleSystem psys;
Particle p1,p2,p3,p4;
Spring s,t,u;
float centerx, centery;
void setup()
{
colorMode(HSB);
size (600,600);
smooth();
background(230);
stroke(0,20);
strokeWeight(1);
psys= new ParticleSystem(0.0035,0.00001);
p1=psys. makeParticle(10*random(0.6,1.4),50,height,0);
p2=psys. makeParticle(10*random(0.6,1.4),200,height,0);
p3=psys. makeParticle(10*random(0.6,1.4),400,height,0);
p4=psys. makeParticle(10*random(0.6,1.4),550,height,0);
s=psys. makeSpring(p1,p2,0.001,0.001,100+random(-20,20));
t=psys. makeSpring(p2,p3,0.001,0.001,100+random(-20,20));
u=psys. makeSpring(p4,p3,0.001,0.001,100+random(-20,20));
p1.makeFree();
p2.makeFree();
p3.makeFree();
p4.makeFree();
p1.velocity().set(random(-0.6,0.6),-random(0.3,0.8),0);
p2.velocity().set(random(-0.6,0.6),-random(0.5,0.8),0);
p3.velocity().set(random(-0.6,0.6),-random(0.5,0.8),0);
p4.velocity().set(random(-0.6,0.6),-random(0.3,0.8),0);
noFill();
}
void draw(){
psys. tick();
stroke(abs(p2.position().x()-p3.position().x()), constrain(0.3* abs(p3.position().x()-p4.position().y()),30,100), constrain(abs(p3.position().x()-p4.position().y()),0,150),20);
curve(0,height/2,p1.position().x(),p1.position().y(),p2.position().x(),p2.position().y(),p3.position().x(),p3.position().y());
curve(p1.position().x(),p1.position().y(),p2.position().x(),p2.position().y(),p3.position().x(),p3.position().y(),p4.position().x(),p4.position().y());
curve(p2.position().x(),p2.position().y(),p3.position().x(),p3.position().y(),p4.position().x(),p4.position().y(),width, height/2);
handleBoundaryCollisions(p1);
handleBoundaryCollisions(p2);
handleBoundaryCollisions(p3);
handleBoundaryCollisions(p4);
}
void mouseReleased(){
setup();
}
void handleBoundaryCollisions( Particle p )
{
if ( p.position().x() < 0 || p.position().x() > width )
p.velocity().set( -0.95*p.velocity().x(), p.velocity().y(), 0 );
if ( p.position().y() < 0 || p.position().y() > height )
p.velocity().set( p.velocity().x(), -0.95*p.velocity().y(), 0 );
p.position().set( constrain( p.position().x(), 0, width ), constrain( p.position().y(), 0, height ), 0 ); -
58.
0up up up
-
59.
0up up up
-
60.
0up up up
-
61.
0up up up
-
62.
0up up up
-
63.
0dıbına kodumun malı kelin merhemi olsa başına sürer hala mal gibi up up up yazıosun
-
64.
0up up up
-
65.
0up up up
-
66.
0up up up
-
67.
0up up up
-
68.
0up up up
-
69.
0up up up
-
70.
0up up up
-
niyet ettim silik yemeye bu muymuş
-
niyet ettim silik yemeye bu sen misin la
-
zalinazurtun futbol muhabbeti yapacak
-
nasyonel sosyalizm arama gecmisi
-
namık da benden yanaa
-
michael gibofield yeni keşfettiği kelimeyle oynuyo
-
nasyonel sosyalizm façan yansın
-
sadece tarihci agalar anlar
-
bu incelcanin adi azad diye
-
9 sene once benide ayni yerden atmislardi
-
ananı niye zütürdün solaryuma olm
-
andrew tate den nasyonel sosyalizm yorumu
-
yol aga bişeyler ekgib sözlükte
-
solaryum bu muymuş aga
-
rolexim var
-
hüüüüp selam beyler
-
yarın iş başı var aga
-
nasyonel sosyalizm anani bacini
-
hay ananı rizenin çay tarlalarında
-
tegmen karari dogru abi
-
pazar gecesi 50 üye ne olm
-
zuhahhauweovaovdogapbdbpa
-
şöyle allahsız kitapsız minyon ufak çeneli
-
kırmızı pelerinli o ananı
-
3 milyon dolarlık sözlük hala gece 12 de çöküyor
-
nasyonel sosyalizm savaştığın şeye dönüşürsün
-
mikropcan radiyallahu anh
-
whatsapptan ppsi böyle olan bi kız mesaj atmış
-
sözlüğün bittini teyit için bugün noter gelicek
-
bu adam kim aga
- / 3