Processing animation .js Test ….

Animation *update* unresponsive – posting src and snapshot of fully developed animation as featured image (above).

/*Random lerp circle spirals – cwelke @ SSStudios
last stable build 8/29/2015
Rendered in Java 1.8 using the Processing API which access OpenGL w/in Microsoft Windows 8.1*/
//global vars
float r = 0;
float angle = 0;
float rSteps;
float maxR;
float angleSteps;
float cirSZ;
float centerX;
float centerY;
float r1 = 0;
float angle1 = 0;
float rSteps1;
float maxR1;
float angleSteps1;
float cirSZ1;
float centerX1;
float centerY1;
void setup(){
size (840, 720);
smooth();
setRandomValues();
background(#0E0517); //dk purple-k
}
void draw(){
int i = 0;
int maxBlasts = 0;
//warm & cool spherical sprails ~=40
while(maxBlasts < 21){
displayEllipse2();
moveAngle();
moveAngle1();
checkEdges();
maxBlasts++;
}
while(i < 11){
displayEllipse();
moveAngle();
moveAngle1();
checkEdges();
i++;
}
maxBlasts = 0; //layering
while(maxBlasts < 8){
displayEllipse2();
moveAngle();
moveAngle1();
checkEdges();
maxBlasts++;
}
i = 0;
while(i < 4){
displayEllipse();
moveAngle(); moveAngle1(); checkEdges(); i++;
} //noLoop(); }
void setRandomValues(){
rSteps = random(4, 8); maxR = random(20, 160); angleSteps = random(PI/90, PI/9);
cirSZ = random (12, 44); centerX = random(width); centerY = random(height);
rSteps1 = random(6, 12); maxR1 = random(40, 250); angleSteps1 = random(PI/36, PI/18);
cirSZ1 = random (36, 44); centerX1 = random(width); centerY1 = random(height);
}
void moveAngle(){
angle = angle + angleSteps;
r = r + angleSteps*rSteps; }
void moveAngle1(){angle1 = angle1 + angleSteps1;
r1 = r1 + angleSteps1*rSteps1;
}
void displayEllipse(){
float colorValue = map(r, 0, maxR, 0, 1);
color c = lerpColor(#FF0000, #00FF00, colorValue); fill(c); stroke(#ffffff);
float x = centerX + cos(angle)*r;
float y = centerY + sin(angle)*r;
ellipse(x, y, cirSZ, cirSZ);
}
void displayEllipse2(){stroke(#000000); float colorValue1 = map(r1, 0, maxR1, 0, 1);
color d = lerpColor(#6600FF, #8A2EE6, colorValue1); fill(d);
float x1 = centerX1 + cos(angle1)*r1;
float y1 = centerY1 + sin(angle1)*r1;
ellipse(x1, y1, cirSZ1, cirSZ1);
}
void checkEdges(){
if(r >= maxR || r1 >= maxR1)
r = 0;
r1 = 0;
angle = 0;
angle1 = 0;
setRandomValues();
}
//rest
void mousePressed(){
r = 0;
r1 = 0;
angle = 0;
angle1 = 0;
setRandomValues();
}

//apologies if formatting is bad – ill conjure this up as another convenient XML “fast-loader”
//in fact code will appear as such in future posts for convenience and as jpegs for visualization -c

*Web Security Notice*

a pic of a black and white (hat) mage pixel rendering from early version of final fantasy

*Internet Security Notice* (Copy of FB post follows):
Dateline – Silicon Valley – and THE WORLD….
To Friends, associates and beloved readers….plz update Java (v1.8u42) when you get a chance….again this is the time when d—–bags will try to get you to update through bogus sites like java32 or 64 or x86 (whatever they are called I will not link to them) Most of you use Chrome which disables most of the security flaws in Java BUT NOT ALL OF THEM. When you have time-update safely: goto java.com
My YT account was compromised YESTERDAY (*sigh again….some “security expert” I am, right?) anyway I changed my Google pswd again I recommend you do the same and find a way to peruse YT WITHOUT logging in, I know this can be annoying but there is another sh—y piece of JavaScript flying around YouTube right now – update 42 should kill it, which is prob. why the good programmers at Java (nee ORACLE) busted out this security update this morning.
As stated in my privacy policy…see the help section of your respective browser (Chrome, Firefox, Safari, …for 95 percent of you) if you wish to disable Java entirely while online. Your user experience will be lowered, sites will load faster, have far less functionality but they WILL be a bit more secure. I recommend getting the update. I posted it above plus links to all Java tools are available [for free] in Column Two of The SoCal Picayune.
That is all – plz update when you have time and as always – get back to work and stop reading my site AT WORK. At least keep the window small (NOT FULL SCREEN) and if you you work in a cubicle farm and DON’T share a cubicle with Ops and MKTG Directors (as I have) just get one of those stick-on rear-view mirrors …you can get ’em at TrueValue Hardware. (TrueValue is an official Tapper-approved Legit business).
Much love; thx for all the support and RT’s on Twitter …all that s—. Love you guys. -t
[]-footer adverts my or may not follow, asynchronous and synchronous .js ads follow:
[test asyn ad]



[test syn ad]

Adverts.js test -or- How to fix truncated Javascript in WP.

A picture of the www.goto.com logo

Subtitle: How to fix a WP crash remotely using FTP.

synban: script keeeps truncating right half of .js embedded content. **Update 12/14 – fixed.**
***Update Dec. 2014*** PHP Flush did the trick…thx Cuz.***

Start by dumping that theme you love so much: bad news…like me you had a few OCD breaks w/ reality and overdid the CSS/JS/HTML4-5 editing to “pretty it up” it’s ok I did it too

1. Choose a new and dressed-down theme.
2. Crack a book on CSS or goto the only free tutorial sponsored by the w3c: and use their CSS Roadmap.
3. Backup your WP data, I suggest an FTP client. You may need to contact your host-server for admin and file-swapNswitch capabilities.
4. Backup your current themes/fxns/data and style before you tear it up. One pHp syntax error and it’s CURTAINS-then you WILL need FTP to get it back up n runnin’
5. If you are not qualified; have your kid do it.

***I owe it to my sponsors to make sure they have access to all of Google’s std lib. of adTypes, so you’ll see mostly ads in this post. This is only a test but the sponsor data displayed is no less relevant.****

***Update Dec. 2014 – 728px exceeds width oftext box. WIP***
Sponsor .js test Horizontal Basic 728×90 follows:
**UPDATE**  dec2014a : 728×90 no good for posts, footer/header only. Ad removed.

Btw after all that shit Content ID put me through for no reason?
May as well fire back:
If you know how to use t0awr@ntz…script:
Xsh%>run \t ^^^^^
Xsh%>browser “HYPTXXfercntrlPrtcll// the(Yarrrrrr!!!!)DOTessee”
Xsh%>inject pr0n.getName || flick.getName || whatevuhz
Xsh%>queryDB
Xsh%>hash etz string[]* argvector V
DO: Raise middle finger in the direction of your choice.

Synchronous Advertisement Test 320×100 follows:


Asynchronous Advertisement Test 320×100 follows: 
**TEST TBC…** Special shoutout to our generous and well-respected advertisers….check ’em out…they were designed FOR you WHEN you visit MY site. The algorithm was written by Goto.com a decade ago, still in use and as close to an AI (Artificially Intelligent) program I have seen to date. GoTo retired on the settlement $ w/ Google. Plz scope out their site; I used it quite often in college.

Credit where credit is due: visit GoTo for searches and to find a nice gift for loved one.goto.com is Tapper7 approved safe, secure, honest and NOT a scam – just legit and hyper-talented webdevs.