Home
Language
English
Türkçe
Bahasa Indonesia
About
Privacy Policy
Terms of Service
Pricing
Sign In
Download All
Share
ひさだん
@hisadan
ただのホビープログラマ。Processingで思いつくままにショートコーディング。日々の出来事とか読んだ本の感想などの自分用のライフログはblueskyの方に移りました。こっちはProcessing中心で。
首都近郊
Joined January 2010
590
Following
3.4K
Followers
19.2K
Posts
Pinned Tweet
ひさだん
@hisadan
about 1 year ago
これまで
#Processing
で作ってきたものをまとめたサイトが1,100ページになった!約半年で100ページ増えた。 The site I've been making my short programs by
#Processing
has reached 1,100 pages! https://t.co/6zJpzdMDcG
ひさだん
@hisadan
4 days ago
//
#つぶやきProcessing
float d,t; void setup(){ size(800,800); rectMode(CENTER); } void draw(){ background(0); stroke(-1); noFill(); translate(400,400); t+=PI/100; for(d=800;d>0;d-=50){ rotate(t/9); rect(0,0,d,d,128-128*cos(t)); } }
hisadan's tweet video.
ひさだん
@hisadan
4 days ago
//cont. d=dist(a[i],a[i+n],a[j],a[j+n]); r=atan2(a[j+n]-a[i+n],a[j]-a[i])+t; if(d<99){ a[i+n*2]+=sin(r)/d*99; a[i+n*3]+=cos(r)/d*99; } } for(k=0;k<2;k++){ a[m=i+n*(2+k)]=constrain(a[m],-9,9); a[m]*=abs(a[i+n*k]+a[m]/9)>400?-1:1; } point(a[i]+=a[i+n*2]/9,a[i+n]+=a[i+n*3]/9); } }
See More
ひさだん
@hisadan
4 days ago
//
#Processing
int n=999,i,j,k,m;float a[]=new float[n*4],d,r,t; void setup(){ size(800,800); background(0); for(i=0;i<n*4;i++)a[i]=400-random(800); } void draw(){ fill(0,2);square(-1,-1,802); stroke(-1);translate(400,400);t+=.01; for(i=0;i<n;i++){for(j=0;j<n;j++)if(i!=j){ //cont.
See More
hisadan's tweet video.
Who to follow
sleeping
@speginel
tweeting hand-coded visuals · my nickname is procedurally generated
hal
@HAL09999
📡∭ light • matter • dimensions ✨ ≋⇋✨ https://t.co/ldWseWTveI 📡 → https://t.co/8AXrYGhJZ4
Etienne Jacob
@etiennejcb
making gifs with code
ひさだん
@hisadan
22 days ago
@tokoname_p
部屋を真っ暗にして公式動画を視聴してます。最高です!ありがとうございます。
ひさだん
@hisadan
about 1 month ago
k=TAUって酷いコードだけど、こうしないと無課金Xの文字数制限にあと1文字入らなかったので…。
ひさだん
@hisadan
about 1 month ago
//
#つぶやきProcessing
float r,t,i,k=TAU;void setup(){size(800,800);}void draw(){background(-1);noFill();translate(400,400);for(i=0;i<6;i++){rotate(PI/3);beginShape();for(r=0;r<k;r+=.01)vertex(99*(1-2*sin(t%k)*cos(r))*cos(r),99*(1-cos(t%k)*sin(r*t%k))*sin(r));endShape();}t+=.01;}
See More
hisadan's tweet video.
ひさだん
@hisadan
about 1 month ago
//
#つぶやきProcessing
float a,r,t,i; void setup(){size(800,800);} void draw(){background(0);stroke(-1);noFill();translate(400,400);for(i=0;i<4;i++){rotate(PI/2);beginShape();for(r=0;r<TAU;r+=.01){a=50*(cos(r*t)-5*cos(r)*cos(t));vertex(a*cos(r),a*sin(r));}endShape(2);t+=.01;}}
See More
hisadan's tweet video.
ひさだん
@hisadan
about 1 month ago
久しぶりにPCとラジオとカメラを持ってお散歩コーディング。一昨日東京都美術館で見た東京展の企画「女子美とコンピュータ・アート」で70年代のCGの試みが展示されていたんだけど、斎部洋子さんの乱数で円の位置と半径を決めて手描き(!)したアートを見て、面白かったのでアレンジしてみた。面白いね。
ひさだん
@hisadan
about 1 month ago
//
#Processing
int n=20,i; float a[]=new float[n*2],r,k,t=9; void setup(){ size(800,800);rectMode(CENTER);} void draw(){ background(0);stroke(-1);noFill(); if((t+=.01)>5){ t=0;r=r>16?4:r+4; for(i=0;i<n*2;i++)a[i]=random(99); } translate(400,400); for(k=0;k<r;k++){ //cont.
See More
hisadan's tweet video.
ひさだん
@hisadan
about 1 month ago
//cont. rotate(TAU/r); for(i=0;i<n;i++){ rect(0,a[i],a[i+n]/2,a[i+n]/2,128*(1-cos(t*2))); a[i]+=.5-noise(a[i]/99,a[i+n]/99,t); a[i+n]+=.5-noise(t,a[i+n]/99,a[i]/99); }}}
ひさだん
@hisadan
about 2 months ago
新緑から紅葉。四季の移り変わり。
ひさだん
@hisadan
about 2 months ago
#つぶやきProcessing
float z,t,i,j,e=800;void setup(){size(800,800,P3D);colorMode(3);}void draw(){background(0);camera(e,e,e/4,0,0,-e,0,0,-1);for(i=0;i<e;i++)for(j=0;j<e;j++){z=9*noise(i/99,j/99,t/300);stroke(256-(z*20+t)%256,255,255);if(z>5|z%2<.05)point(i,j,z>5?z*20-99:0);}t++;}
See More
hisadan's tweet video.
ひさだん
@hisadan
about 2 months ago
//cont. x=y=0; for(j=0;j<n;j++){if(i!=j){ d=dist(a[i],a[i+n],a[j],a[j+n]); u=(a[j]-a[i])/d;v=(a[j+n]-a[i+n])/d; if(d<15){p=c(u);q=c(v);x-=f==1?q:p;y-=f==1?p:q; }else if(d<99*w){x+=c(u/d);y+=c(v/d);}}} circle(a[i]+=x,a[i+n]+=y,2);}} float c(float e){return constrain(e,-1,1);}
See More
ひさだん
@hisadan
about 2 months ago
//
#Processing
int n=999,i,j,t; float a[]=new float[n*2],d,x,y,p,q,u,v,f=1,w=1; void setup(){ size(800,800);noStroke();background(0); for(i=0;i<n*2;)a[i++]=random(800);} void draw(){ w*=1.0005; if(t++>300){t=0;f*=-1;} fill(0,9);square(-1,-1,802);fill(-1); for(i=0;i<n;i++){ //cont.
See More
hisadan's tweet video.
ひさだん
@hisadan
about 2 months ago
不正アクセス騒ぎで止まっていたGyazoが復活したので、scrapboxの画像がちゃんと表示されるようになった。でも、ごく古い画像のリンクが一部切れちゃってる…。
ひさだん
@hisadan
2 months ago
あれ?画像がアップロードできないと思ったら、Gyazo、止まってるのか…。
ひさだん
@hisadan
2 months ago
//cont. s=b[i][j-1]+b[i][j+1]+b[i-1][j]+b[i+1][j] +(b[i-1][j-1]+b[i+1][j-1]+b[i-1][j+1]+b[i+1][j+1])/2; a[i][j]=s<2||s>5?0:1; } for(i=0;i<n;i++)for(j=0;j<n;j++){ fill(a[i][j]==b[i][j]?0:-1); square(i*800/n,j*800/n,800/n); } }
ひさだん
@hisadan
2 months ago
//
#Processing
int i,j,n=400,a[][]=new int[n][n],b[][]=new int[n][n],s; void setup(){ size(800,800); for(i=0;i<n;i++)for(j=0;j<n;j++)a[i][j]=(int)random(1.03); } void draw(){ noStroke(); for(i=0;i<n;i++)for(j=0;j<n;j++)b[i][j]=a[i][j]; for(i=1;i<n-1;i++)for(j=1;j<n-1;j++){ //cont.
See More
hisadan's tweet video.
ひさだん
@hisadan
2 months ago
更に小改造。歯車っぽいものが回るからということではないけれど、明日はまどマギ「ワルプルギスの廻天」4回目見に行くんだ。
ひさだん
@hisadan
2 months ago
//
#Processing
float t,k=2; void setup(){ size(600,600,P3D); } void draw(){ background(-1); camera(200,200,200,0,0,0,0,0,-1); lights(); rotate(t); a(0,99); if((t+=.01)>1.5){ t=0; k++; } } void a(float x,float d){ if(d>40/t){ push(); translate(0,x); for(int i=0;i<k*2;i++){ //cont.
See More
hisadan's tweet video.
ひさだん
@hisadan
2 months ago
//cont. rotateZ(PI/k); box(99,99,d); a(d*sin(t),d/2); } pop(); } }
Last Seen Users on Sotwe
Hemo
Seen from
Switzerland
นัดเยสสมุทรสาคร
Seen from
Thailand
فان دايك
Seen from
Saudi Arabia
Bobby
Seen from
United States
Old mother romance
Seen from
United Kingdom
human32
Seen from
Indonesia
Windaa
Seen from
Indonesia
Danny Linarez
Seen from
Spain
Krutof benseglin
Seen from
Malaysia
NudeLife
Seen from
Turkey
Trends for you
1
49ers
Under 10K tweets
2
Larkin
Under 10K tweets
3
Draymond
Under 10K tweets
4
Mike Evans
Under 10K tweets
5
Celtics
Under 10K tweets
6
#LaGranjaEliminacion
Under 10K tweets
7
#TheGildedAge
Under 10K tweets
8
GLM-5.4
Under 10K tweets
9
#ThaiSELECTxKengNamping
Under 10K tweets
10
#BaddiesUSAChapter3
Under 10K tweets
Most Popular Users
1
Elon Musk
@elonmusk
240.1M followers
2
Barack Obama
@barackobama
118.6M followers
3
Cristiano Ronaldo
@cristiano
114.4M followers
4
Donald J. Trump
@realdonaldtrump
111.7M followers
5
Narendra Modi
@narendramodi
106.9M followers
6
Rihanna
@rihanna
98.6M followers
7
NASA
@nasa
92.1M followers
8
Justin Bieber
@justinbieber
91.7M followers
9
KATY PERRY
@katyperry
89.9M followers
10
Taylor Swift
@taylorswift13
83.9M followers
11
Lady Gaga
@ladygaga
75.4M followers
12
Virat Kohli
@imvkohli
73.3M followers
13
Kim Kardashian
@kimkardashian
70.8M followers
14
YouTube
@youtube
68.6M followers
15
Neymar Jr
@neymarjr
66.3M followers
16
Bill Gates
@billgates
65.2M followers
17
Selena Gomez
@selenagomez
63M followers
18
The Ellen Show
@theellenshow
62.1M followers
19
CNN
@cnn
61.7M followers
20
X
@x
60.6M followers
Olivia
Online
✨
⭐
💫