marderchen / rumwusel

Just a Test maybe more
1 stars 0 forks source link

Just file test #1

Open marderchen opened 8 years ago

marderchen commented 8 years ago

complete selfmade ! I like cats have fun =^.^= http://marderchen.lima-city.de/kittyanimation/kittypart2.swf ok swf not on filetype list.. downresize to 640px x 480px without sound or black frames end remove some (but not all) frame copys for lower filesize convert to gif result (so fast!) kitty shorty part 2 :lineart kitty part 2 gif slow: kitty shorty part 2 3fps

marderchen commented 8 years ago

its such a long time aggo.. now i realy coding.. videos don't loop.. gifs loop but show same content.. flash can be interactive.. with more knowlege in coding in AS3, c++ etc.. the content never repeats.. i still getting better i think.. most swf uploadet on deviantart http://marderchen.deviantart.com/gallery/ have started building my devices with STM32 + OLED + colorLCD .. its in my google+collection https://plus.google.com/u/0/collection/AXBhqB and on youtube https://www.youtube.com/user/marderchen6/videos but until now i don't think its kind of work for github .. i always published my AS3 / C++ STM32 code on my homepage webspace http://marderchen.lima-city.de/swf_self/ and http://marderchen.lima-city.de/neu/ <- directory listening but the codes getiing better example: http://marderchen.lima-city.de/swf_self/Marderchens_visual_MEOW_mp3flashplayer_betaAS3.txt AS3 textfile http://marderchen.lima-city.de/NEU/Tischdampfe/Table_vape_current_colorLCD.txt C++STM32F103C8T6 textfile for colorlcd .. Cats Are Awesome =^.^=

marderchen commented 8 years ago

latest project running: code: http://marderchen.lima-city.de/NEU/windows_xmas_colorLEDtree_programm.txt video from multicolorchanger https://www.youtube.com/watch?v=ZenR8vTg6vs itc cute simple and running, but think not complex enought for a code in the rubric code.. so post it here:

marderchen commented 8 years ago

//Full 4 x RGB channel soft colorchanger+ white lametta xmas tree controll programm =^.^=

define rot1 PB12

define grun1 PB13

define blau1 PB14

define rot2 PB15

define grun2 PA8

define blau2 PA9

define rot3 PA10

define grun3 PB5

define blau3 PB6

define rot4 PB7

define grun4 PB8

define blau4 PB9

define ws1 PB11 //weis spitze

define w1 PB10 //weis backound

define wl1 PB1 //weis lametta-w15

define wl2 PB0

define wl3 PA7

define wl4 PA6

define wl5 PA5

define t1 PA4

define t2 PA3

define t3 PA2

define t4 PA1

long allfcount = micros(); long maintime = millis(); int maintimeadjust =10; int duty[20]; int RGB[5]= {0,600,1200,1800}; int light[5]= {400,400,400,400}; int lights[5]; int darkness[5]; int zeitr[20];

int duty1 =0; int duty2 =0; int duty3 =0;

int zeit1 =0; int zeit2 =0; int zeit3 =0; int zeit4 =0; int zeit5 =0; int zeit6 =0; int zeit7 =0;

int m1 =0; int m1b =0; int m2 =0; int m2b =0; int m3 =0; int m3b =0; int m4 =0; int m4b =0;

int fcount1 =0;

int z1=0; //zufall+- backlight int r1=0; //test int r2=0; //lametta zufall int r2c=40; //zufall reset

int r3=0; //lightszeit rgbspectrum int r3b=0; //rgb light rücksetz int r4=0; //lights zufall int r5=0; //langsamm ungenutzt int r6=0; //weissterntimer int r6a=0; int r6b=0; int r7=0; //backlight zufalltimer

int speedy1 =200; //zeit lametta int speedy1c =0; int speedy1cc =0; int speedy2 =200; //zeit rgb int speedy3 =800; //zeit backlight

void setup() { pinMode(rot1, OUTPUT); pinMode(grun1, OUTPUT); pinMode(blau1, OUTPUT); pinMode(rot2, OUTPUT); pinMode(grun2, OUTPUT); pinMode(blau2, OUTPUT); pinMode(rot3, OUTPUT); pinMode(grun3, OUTPUT); pinMode(blau3, OUTPUT); pinMode(rot4, OUTPUT); pinMode(grun4, OUTPUT); pinMode(blau4, OUTPUT); pinMode(ws1, OUTPUT); pinMode(w1, OUTPUT); pinMode(wl1, OUTPUT); pinMode(wl2, OUTPUT); pinMode(wl3, OUTPUT); pinMode(wl4, OUTPUT); pinMode(wl5, OUTPUT);

           pinMode(t1, INPUT);
           pinMode(t2, INPUT);
           pinMode(t3, INPUT);
           pinMode(t4, INPUT);

}

void loop() { zeitreise(); // istinput(); spiel(); test(); chaos(); rgbcalc(); machlicht();

} void chaos(void){

} void test(void){

} void istinput(void){ if (zeit1 >=10) { if (digitalRead(t1) == HIGH && m1 ==0) { m1 =1; } if (m1 == 1) { m1b++;} if (m1b == 2) { if (r1 <=17) {r1++;}} //tudinge if (m1b >= 1000) { m1b =0; m1=0;} if (digitalRead(t2) == HIGH && m2 ==0) { m2 =1; } if (m2 == 1) { m2b++;} if (m2b == 2) { if (r1 >=1) {r1--;} } //tudinge if (m2b >= 1000) { m2b =0; m2=0;} if (digitalRead(t3) == HIGH && m3 ==0) { m3 =1; } if (m3 == 1) { m3b++;} if (m3b == 2) { if (maintimeadjust <=100) {maintimeadjust++;}} //tudinge if (m3b >= 1000) { m3b =0; m3=0;} if (digitalRead(t4) == HIGH && m4 ==0) { m4 =1; } if (m4 == 1) { m4b++;} if (m4b == 2) { if (maintimeadjust >=2) {maintimeadjust--;}} //tudinge if (m4b >= 1000) { m4b =0; m4=0;} zeit1=0; }}

void spiel(void) { if (zeit2 >= speedy1) { //zeitvar blitzer *lametta r2 = random(14,19); zeitr[r2] +=random(0,5); if (zeitr[r2] < 370 && duty[r2] <=random(150,200)) { duty[r2]++; } if (zeitr[r2] < random(370,370) && duty[r2] <=120 && zeitr[r2] >270) { duty[r2]-=4; } if (zeitr[r2] > random(370,370) && duty[r2] >150 && zeitr[r2] <=375) {duty[r2] =399;} if (zeitr[r2] > random(379,381)) {duty[r2] =0; speedy1c++; zeitr[r2]=0; speedy1 -=random(2,6); r2c= random(30,80);} //schnell if (speedy1c > 15) {speedy1c =random(0,5); speedy1cc +=random(0,2); speedy1 +=random(10,50); speedy3=random(400,1200);}//langsammer if (speedy1cc >= 10) {speedy1 =random(190,240); speedy1cc=0; speedy2= random(180,250); } //am langsammsten zeit2 =0; } if (zeit3 >= speedy2){ r3++; for ( uint8_t j = 0; j < 5; j++) { RGB[j] ++; } r4 = random(0,5); if (r3 >=100 && light[r4] >=40) { light[r4]+=10 -random(0,20); r3=0; r5++; r6++; r3b++;} zeit3=0; } if (r3b > 200) { for ( uint8_t w = 0; w < 5; w++) { light[w] =400;} r3b=0;} if (zeit4 >speedy3) { //backlight flacker r7++; z1 =random(0,3); if (duty[13] <=300 && z1==1) {duty[13] +=random(1,20);} if (duty[13] >=100 && z1==0) {duty[13] -=random(1,20);} zeit4=0; } if (r7 > 40) {duty[13] =random(100,300); r7=0;} if (zeit6 >(speedy21.5)) { if (r6 <= 5){duty[12]=0;} //spitze weis if (r6 >= 220){ if (r6a ==0 && duty[12] <=398) {duty[12]++;} if (r6a ==1) {duty[12] -=6;} zeit6=0; } } if (duty[12] >398) {r6a =1;} if (duty[12] <20) {r6a =0;} if (r6 >=270) {r6=0;} for (uint8_t d =0; d <21; d++){ if (duty[d] >= 400) {duty[d] = 390;} if (duty[d] <= 0) {duty[d] =5;} }}

void rgbcalc(void) { for ( uint8_t m = 0; m < 5; m++) { if (light[m] >= 400) {darkness[m] =0; lights[m] = light[m] -400;} if (light[m] <= 399) {darkness[m] =399 -light[m]; lights[m] =0;} if(RGB[m] >=0 && RGB[m] <=400) {duty1 =400 -darkness[m]; duty2 =RGB[m] + lights[m]; duty3 =0 + lights[m];} //rot ->gelb (rotmax grün+ blau0) if(RGB[m] >=401 && RGB[m] <=801) {duty1 =(400 -(RGB[m] -401)) +lights[m]; duty2 =400 -darkness[m]; duty3 =0 +lights[m];} //gelb ->grün (rot- grünmax blau0) if(RGB[m] >=802 && RGB[m] <=1202) {duty1 =0+lights[m]; duty2 =400 -darkness[m]; duty3 =(RGB[m] - 802) + lights[m];} //grün ->cyan (rot0 grünmax blau+) if(RGB[m] >=1203 && RGB[m] <=1603) {duty1 =0+lights[m]; duty2 =(400 -(RGB[m] - 1203)) +lights[m]; duty3 =400 -darkness[m];} //cyan ->blau (rot0 grün- blaumax) if(RGB[m] >=1604 && RGB[m] <=2004) {duty1 =(RGB[m]-1604) +lights[m]; duty2 =0 +lights[m]; duty3 =400 -darkness[m];} //blau ->lila (rot+ grün0 blaumax) if(RGB[m] >=2005 && RGB[m] <=2405) {duty1 =400 -darkness[m]; duty2 =0+lights[m]; duty3 =(400- (RGB[m] -2006)) +lights[m];} //lila ->rot (rotmax grün0 blau-) if(RGB[m] >= 2406) {RGB[m] =0;} if(m == 1) {duty[0] = duty1; duty[1] = duty2; duty[2] = duty3;} if(m == 2) {duty[3] = duty1; duty[4] = duty2; duty[5] = duty3;} if(m == 3) {duty[6] = duty1; duty[7] = duty2; duty[8] = duty3;} if(m == 4) {duty[9] = duty1; duty[10] = duty2; duty[11] = duty3;}

}}

void zeitreise(void){

while ((micros()- maintime) >= maintimeadjust) { / for ( uint8_t k = 0; k < 5; k++) { zeitr[k]++; } / zeit1++; zeit2++; zeit3++; zeit4++; zeit5++; zeit6++;

maintime = micros(); } } void machlicht(void) { while ((micros()-allfcount) >= 8) { fcount1++; if (fcount1 == (400-duty[0])) { digitalWrite(rot4, HIGH );} // mitte //rot4 = rot1 - rot3 =rot2 - rot2 = rot4 - rot1 = rot3 if (fcount1 == (400-duty[1])) { digitalWrite(blau4, HIGH );} if (fcount1 == (400-duty[2])) { digitalWrite(grun4, HIGH );} if (fcount1 == (400-duty[3])) { digitalWrite(rot3, HIGH );} //oko unten rechts if (fcount1 == (400-duty[4])) { digitalWrite(grun3, HIGH );} if (fcount1 == (400-duty[5])) { digitalWrite(blau3, HIGH );} if (fcount1 == (400-duty[6])) { digitalWrite(rot2, HIGH );} //oben if (fcount1 == (400-duty[7])) { digitalWrite(grun2, HIGH );} if (fcount1 == (400-duty[8])) { digitalWrite(blau2, HIGH );} if (fcount1 == (400-duty[9])) { digitalWrite(rot1, HIGH );} //ok stern spitze if (fcount1 == (400-duty[10])) { digitalWrite(grun1, HIGH );} //ok if (fcount1 == (400-duty[11])) { digitalWrite(blau1, HIGH );} //ok if (fcount1 == (400-duty[12])) { digitalWrite(ws1, HIGH );} //ok if (fcount1 == (400-duty[13])) { digitalWrite(w1, HIGH );} //ok if (fcount1 == (400-duty[14])) { digitalWrite(wl1, HIGH );} //ok if (fcount1 == (400-duty[15])) { digitalWrite(wl2, HIGH );} //ok if (fcount1 == (400-duty[16])) { digitalWrite(wl3, HIGH );} //ok if (fcount1 == (400-duty[17])) { digitalWrite(wl4, HIGH );} //ok if (fcount1 == (400-duty[18])) { digitalWrite(wl5, HIGH );} //ok if (fcount1 >= 401 ) { digitalWrite(rot1, LOW ); digitalWrite(grun1, LOW ); digitalWrite(blau1, LOW ); digitalWrite(rot2, LOW ); digitalWrite(grun2, LOW ); digitalWrite(blau2, LOW ); digitalWrite(rot3, LOW ); digitalWrite(grun3, LOW ); digitalWrite(blau3, LOW ); digitalWrite(rot4, LOW ); digitalWrite(grun4, LOW ); digitalWrite(blau4, LOW ); digitalWrite(ws1, LOW ); digitalWrite(w1, LOW ); digitalWrite(wl1, LOW ); digitalWrite(wl2, LOW ); digitalWrite(wl3, LOW ); digitalWrite(wl4, LOW ); digitalWrite(wl5, LOW ); fcount1 = 0; } allfcount = micros(); } }

//programm by marderchen =^.^= / MMMMMMMM MMMMMMMMEEEEEEEEEEEEEEEEEEEEEE OOOOOOOOO WWWWWWWW WWWWWWWW M:::::::M M:::::::ME::::::::::::::::::::E OO:::::::::OO W::::::W W::::::W M::::::::M M::::::::ME::::::::::::::::::::E OO:::::::::::::OO W::::::W W::::::W M:::::::::M M:::::::::MEE::::::EEEEEEEEE::::EO:::::::OOO:::::::OW::::::W W::::::W M::::::::::M M::::::::::M E:::::E EEEEEEO::::::O O::::::O W:::::W WWWWW W:::::W M:::::::::::M M:::::::::::M E:::::E O:::::O O:::::O W:::::W W:::::W W:::::W M:::::::M::::M M::::M:::::::M E::::::EEEEEEEEEE O:::::O O:::::O W:::::W W:::::::W W:::::W M::::::M M::::M M::::M M::::::M E:::::::::::::::E O:::::O O:::::O W:::::W W:::::::::W W:::::W M::::::M M::::M::::M M::::::M E:::::::::::::::E O:::::O O:::::O W:::::W W:::::W:::::W W:::::W M::::::M M:::::::M M::::::M E::::::EEEEEEEEEE O:::::O O:::::O W:::::W W:::::W W:::::W W:::::W M::::::M M:::::M M::::::M E:::::E O:::::O O:::::O W:::::W:::::W W:::::W:::::W M::::::M MMMMM M::::::M E:::::E EEEEEEO::::::O O::::::O W:::::::::W W:::::::::W M::::::M M::::::MEE::::::EEEEEEEE:::::EO:::::::OOO:::::::O W:::::::W W:::::::W M::::::M M::::::ME::::::::::::::::::::E OO:::::::::::::OO W:::::W W:::::W M::::::M M::::::ME::::::::::::::::::::E OO:::::::::OO W:::W W:::W MMMMMMMM MMMMMMMMEEEEEEEEEEEEEEEEEEEEEE OOOOOOOOO WWW WWW ..... ........ .. ............... ................ .... .... .... .... .. .. .... .... .... .. .. .... ....... ........ ...... .. .... .... .... .. .. .... .... .... .... .... .. .... .................... /

marderchen commented 7 years ago

my flash file directory: http://marderchen.de/swf_self/ (upload them there, flash scripts should be in http://marderchen.de/wuselcode/

pictures (also from devices i writing the C++ Arduino IDE codes for) are here http://marderchen.de/wuselcode/http://marderchen.de/NEU/ (sort directoryview by date)

videos from devices maybe there http://marderchen.de/0/ (or on w0bm)

Think the codes are not realy something for github, caused have never learne it proffesional.. my stuff or parts from it is free to use in anyway you want MEOW =^.^=

marderchen commented 5 years ago

Oh still not pushing things into the tentacle kitten ... but alrealy coding and creating stuff code (for paste in arduino ready for STM32F103C8T6): https://marderchen.lima-city.de/wuselcode/4chan_4x100Watt-chipled_cyberpunkLEDstroboskope.txt circuit schematic https://www.deviantart.com/marderchen/art/Cyperpunk-stroboscope-schematic-793792510 ( https://marderchen.lima-city.de/NEU+/4chan_400Watt_cyberpunk_ledstroboscope_schematic.jpg ) oh.. yes all informations inside.. but.. drawing just faster than using proffssional layout software.. just rebuild it and do withit whatever want to.. just have spent some time to decipher the circuit hihi video from running on cute w0bm: https://w0bm.com/user/marderchen/uploads/25557 timing working waesome.. latest correction for exacter matching: timez=20100 =^.^=

marderchen commented 5 years ago

hmz why edit function isnot working? maybe caused chrome ver: 49.0.2623.112 XD so write it here: project kote above a fading sequence machtched to musicschematica 8 betweenbeatssteps.. repeating it little and creat a new sequence.. in sequence randomly choosen some of the 4led ledchannel with random brighteness for some of the 8 steps.. caused somuch random its can runn a verry long time and newer repeating one sequence :3 cutest lightorgan idea ever hihi so build some more deviceth with it latest extendet to 24channels (8x RGB) kote: https://marderchen.lima-city.de/wuselcode/24chan_8x5mm_STRAWhead_RGBleddirect_on%20GPIO_lightfun.txt video: https://w0bm.com/user/marderchen/uploads/25632 loooooong video on gdrive: https://drive.google.com/open?id=1rIrVG9WGibtkbG-umbe0nwdGMOhKN3bX (sorry roomaudio little quiet) hrhr maybe buy something likehttps://www.ebay.de/itm/ETEC-LED-Roto-Bar-8x10W-RGBW-DMX-Moving-Washer-Beam-Spot-Pixel-Matrix-Leiste-DJ/283062322451 but spending much money for such loosy stillrepeating colour blinksequences? Oh cats cant calculate.. 8x10Watt= 900Watt.. ok watched video still 180Watt consumtion?!^^ oh would be verry heatintensive driving highpower leds by a leakage of 100Watt XD have created 4x10 WattRGB channel light organ: https://w0bm.com/user/marderchen/uploads/25619 *sight just can catching the psychedelic glary color feeling in a video) caused its so epic bright have searched in internetz for similary.. its powered by 12V ATX supply.. leds pulsed by 3A smd NPN transistor with smd N4007 diods as cheap highdrainresistors (1inline for green, 3inline for red , noneinline for blue) 33yF parralel to each ledcolor.. pictures: https://marderchen.lima-city.de/NEU+/4x10watt_RGB_doomcoloringlight_1.jpg https://marderchen.lima-city.de/NEU+/4x10watt_RGB_doomcoloringlight_2.jpg https://marderchen.lima-city.de/NEU+/4x10watt_RGB_doomcoloringlight_3.jpg https://marderchen.lima-city.de/NEU+/4x10watt_RGB_doomcoloringlight_5.jpg https://marderchen.lima-city.de/NEU+/4x10watt_RGB_doomcoloringlight_6_12Vdrainbord.jpg oh soldering cooper direct on 10Wrgb leds is optimal heatsink even its cooled by lowpowered serverturbine its not getting warm.. kote: https://marderchen.lima-city.de/wuselcode/4x10Watt_RGB_doomlight_kote.txt have ordered some parts to build 8x10Watt RGB channel one.. oh the internet have to learn its not making sense to put a lense in front of a led flood light the surface is just to large for effective knickering light to get a spot.. somuch looses of light .. and if lense little dirty after a while.. :3 have fun do with content whatever want to =^.^=

marderchen commented 5 years ago

Maybe intresting have changet C++ kote from above for using it in flash actionscript3 (java) its used for generating the from center away moving squares video from flash: https://w0bm.com/user/marderchen/uploads/25564 flashitself: https://marderchen.lima-city.de/swf_self/MONTTI_MEOW_njoy49fps.swf flash embed on deviantart: https://www.deviantart.com/marderchen/art/MONTTI-MEOW-49fps-flashvisualizer-3-794038606 AS3(java)kote: https://marderchen.lima-city.de/wuselcode/AS3_Montii_MEOW.txt oh still creating flash in 2019.. caused can be more complex PCs still getting faster :3 .. making video with same stuff kind of sensles videos repeating and muchmultiple fisize... doing same with canvas on webspace.. not making sens somuch different files required and not simple to download swf= smal zip archiv file, script,sound,fonts,pictures,... everything inside just doiwnload one smal file and still can use it offline is Article 13 also known as googleK.I have crashed the internet XD als swf can be decompiled to fla or scriptpicturesound etc.files.. but seens to be all artist want making money so they let flash die, to protect the created stuff and scripts from continiues using from other people?! sight oh flash is mostly not the savety risk.. its adope AIR! (caused access to desktop writing and reading files without asking!!!) flash can also used with chrome or irfanview(withpluginspack) offline.. have fun :3 aaah far tomuch written here today spelling have deffenitly lots of errors caused iam not a BOT ^^