/*==================================== 桦ץ ====================================*/ #include <stdio.h> #include <math.h> #define N 256 //LEDο /*==================================== ȴؿ ====================================*/ void wait(unsinged long n) { while(n--){} //ˤʤޤǥ롼 } /*==================================== ؿ ====================================*/ void raiseWave(int x, int y, short *array1) { int i; short array[N]; for(i=0; i<N; i++) { array[i] = array1[i]; } //ϰϤ if(x < 3 || x > 13 || y < 3 || y > 13) { return; } int sx, sy; //Ⱦ£礭 for(sx=-4; sx<4; sx++) { for(sy=-4; sy<4; sy++) { double r = sx * sx + sy * sy; int ad = (sx + x) * (sy + dy) * 16; if(r < 16) { array[ad] += (cos(sqrt(r) / 4 * pi) + 1) / 2; } } } } /*==================================== ưؿ ====================================*/ void ripple(short *array1, short *array2) { int i, j; short led[N]; for(i=16; i<N-16; i++) { int x = i % 16; //üη if(x == 0 || x == 15) { continue; } //ư array2[i] = ((array1[i-1] + array1[i+1] + array1[i-16] + array1[i+16]) >> 1) - array2[i]; //ξ array2[i] -= (array2[i] >> 5); //ͤLED뤵Ѵ double a = array2[i] + 10; //LED뤵θ٤ if(a > 15) { a = 15; } else if(a < 0) { a = 0; } //LED뤵Ϳ led[i] = a; } //ξ short array0[N]; for(j=0; j<N; j++) { array0[j] = array1[j]; array1[j] = array2[j]; array2[j] = array0[j]; } } /*==================================== ᥤؿ ====================================*/ int main(void) { int i; short array1[N]; short array2[N]; //ν for(i=0; i<N; i++) { array1[i] = array2[i] = 0; } while(1) { wait(30000); //30000Ԥ raiseWave(8, 8, array1); // ripple(array1, array2); // } return 0; }
- muraki?
http://ccnet.dip.jp/devassist/exam/algorithm/wave/index.html
MovieClip?
URL:http://www.instructables.com/id/Laser-show-for-poor-man/
http://casualplay.net/blog/2005/12/_draw.html http://www.newgrounds.com/portal/view/306531 http://casualplay.net/blog/2005/11/_blendmode_1.html
masaki?
masaki?
masaki?
URL:http://1art.jp/flash9/index.html
masaki?
masaki?
FLASH MATH CREATIVITY
http://www.levitated.net/bones/flashmath/photos.html
masaki?
masaki?
masaki?
masaki?
http://kazushi-lab.c.fun.ac.jp/pukiwiki/index.php?2%20PHOTO%20FLASH
masaki?
masaki?
masaki?
2 PHOTO FLASH
http://kazushi-lab.c.fun.ac.jp/pukiwiki/index.php?%B2%DD%C2%EA%A1%A72%A4%C4%A4%CE%BC%CC%BF%BF
masaki?
masaki?
URL: http://www.nintendo.co.jp/wii/rmcj/handle/index.html
URL:http://youtube.com/watch?v=RQphfVeZB5E&feature=related
masaki?
masaki?
http://volcanic-penguin.deviantart.com/art/LineTo-experimental-14080073 http://mysketch.jp/blog/2008/05/as202.php
masaki?
http://gascon.cocolog-nifty.com/blog/2007/07/flash8_0372.html http://wellflat.raindrop.jp/main/flash/flash_html/mandelbrot.html YouTube? http://www.youtube.com/watch?v=MaozI6rCRHo
masaki?
http://www.fractalartcontests.com/2007/ http://ja.wikipedia.org/wiki/%E3%83%95%E3%83%A9%E3%82%AF%E3%82%BF%E3%83%AB http://gigazine.net/index.php?/news/comments/20060603_complexification/ http://gigazine.net/index.php?/news/comments/20060618_fractal_recursions/ http://www.javac.jp/flash/fractal/index.html
masaki?
masaki?
masaki?
http://www001.upp.so-net.ne.jp/seri-cf/ http://www.ne.jp/asahi/h/machida/ http://gigazine.net/index.php?/news/comments/20061203_amazing_flame_fractals/