From static frames to animation – JavaScript, Java & Processing; coding Art ….

As part of my research, I endeavored to build a frame and tile itevenly…as you would a column in a upscale restaurant, or as Billy-Buster tiled his lesser-known below-ground pool in the hilltop paradise above San Simeon. Drawing squares, keeping track of their quantity, position and spacing proved unweildy. So back to the drawing board I turned. The first task was to completely fill a window with squares, evenly spaced, uniformed – no holes. My first breakthrough was a rectangular grid – from the drawing board I found that instead of looping to keep track of the squares (their origins in CGI coordinates space, their quantity, when to drop down a row, when to stop building them…) oy! I located a KISS-simple solution in the following functions and abstract data types:

Click to see it transform.
Some tweaks to a nested-for loop, appropriate “pops” nee popMatrix(); and the careful application of a “random” number generator to produce cool-colored tiles —but not TOO cool — experiment yielded a random range in Green and Blue to give the tiles a watery sheen, sans magenta, indigo, dark purple and the like. For personal intersest and further research I added a mouse event that slows down the animation, eliminates the thin black borders on each tile and zooms in on the whole operation.
At long last “Random dynamic & cool tiles” is up for public consumption:
I could see a pool in Laguna, LA, Vegas or Laughlin with swanky, swarthy, light-up tiles in a pool or on a wall of it’s club …. Bill R. Hearst would be pleased…I like to think so.
Next – I thought about Neil Degrasse Tyson. He says that the “snow” we see on the “TV channels in-between TV channels,” (something our Millennial friends may never fully appreciate…) is ACTUALLY a visual representation of the background radiation that’s permeated the Universe since the Big Bang. UHF & VHF cathode-ray displays pick up this noise and spit out the “ssshhhhhhhh” and the black, white & gray snow we may’ve found on Channel 1 or 3. Mostly, it was annoying and caused us to quickly dial up to CBS, PBS, NBC, FOX or ABC to see what was cookin’….but in the context of nostalgia, the scientific implication of looking back seven trillion years; this “snow” is worth an emulation. Using similar logic I fashioned version 1. The snow doesn’t dance around the screen, but the small circular “flakes” and the way they appear to move based on random gray-scale shadings is a nice start. It looks like they move – kinda.
^^^^I slowed the frame rate down to avoid headaches.
After random “cool” I had to attempt random “warm” –this graphic reminds me of a HollyWood or Vegas marquee. Bright lights seize attention; underscoring the glitz and glamour purported to be found within. The difference is that I think the bulbs this animation emulates are controlled in strict, looping sequences as opposed to my random flashes of “bright” colors controlled by logic.
This animation reminds me of the “Sushi”scene from “Defending Your Life” — Albert Brooks’ barmate proudly states that his life accomplishment was coining the phrase “All Nude. (You know those strip clubs out by LAX? ….“) You needn’t be a fan of his quirky brand of humor to get huge kick out this classic.
That said, I FINALLY got the computer graphic programs to not only display but animate! The “random- (random number generators are not TRULY random, but they are close)-ness” of the algorithms give the displays a kind of innate ability for the computers to create something of THEIR OWN — MY LOGIC & Design—> the computers’ brushstrokes.
All of the “sketches” (as they call them) on my new OpenProcessing Profile are completely original – designed, built, tested, tweaked and deployed by this writer. If you visit my new page & graphics, the source code is easily visible. Feel free to reproduce it yourself, or make changes/improvements to it. You will find that all of them are optimized –nee “code-golfed.” I designed these algorithms to use the fewest lines of code, fewest commands and simplest logic to add a layer of mathematical elegance to the aesthetic of each sketch. Please feel free to download my source code…just plz note that all of them are intellectual property- if you plan to use them in a public/educational or commercial setting…just ask!
More coming soon….plus a litany of fresh podcasts – “I swear it by the old gods & the new.” -t []

MuseScore https redirect error …. fixed ….

I’ve been using an open-source program called MuseScore to compose and arrange music for about two months. It is free and THAT attracted me since the closest answer to writing and testing music (without a large group of expert instrumentalists) is to purchase Adobe Audition…which goes for ~$300. I’ve been using the software extensively…they recently upgraded from v1.3 to v2 (and now 2.0.2) which shows improvements but is still loaded with bugs. My arrangement of “Adagio for Strings” was ready for publication three weeks ago but something went wrong when I uploaded it…playback of the Lead Soprano part was off — the whole thing sounded awful, so…glad that I decided to test it 3x + 3 ways before promoting it on FB or LinkedIn, I pulled the file off their servers. My attempt to repair the file led to the file ITSELF becoming corrupted – leaving over 48 hours of careful, creative, technical work in shambles.

Recently I repaired “Adagio” to the point that I’m happy to upload it to MuseScore’s server even though the harmonies from subito piano to the end still need work. To do this, I had to decide which score to pull. The company limits users to five scores total ….after that a “pro” ($) account is required, so I pulled Aerith’s Theme aka “Flowers Blooming in the Church.”

A few days ago I encouraged a potential client to “check out my Web site” to see what I’m capable of in terms of design, content creation…all that good stuff… I ping my site for first time in about a week…the main page loads slowly (as it usually does) but this time it redirects to my logged-out musescore account and notifies the reader that “the requested page is not available.”

Looked all over for a solution -no dice. It only just occurred to me that by yanking “Flowers” I’d inadvertently forced the main page of this site to try to embed a score that doesn’t exist (not on the server my page is making a call to). Instead of posting a dead link it kills the whole page and makes this writer seem less than competent when trying to advertise alleged “IT skills.”

This was an example of KISS. Simple problem had a simple solution ….there was no need to FTP in the back door or comb-over PHP code…it was a matter deleting a dead link in “edit post” mode which a child is completely capable of.

I apologize if this site crapped out on you over the past few days.

Mea Culpa. Lo Siento.

As a test, let’s embed “Adagio” ….which I don’t expect to tear down anytime soon. So far, reviews included “Not Bad,” and “I like it.”Adagio for Strings v3 arr. Tapper by Tapper7

WP should have PHP avail in the codex to automatically clear or notify the admin of dead links & or impossible calls to embeds that no longer exist. Meh….’till then I’ll just avoid making the same mistake. For your benefit I ran four external audits of this Web site including one by a close associate to insure that a) it works b) the redirect is gone c) the site is SAFE (malware/adware/spyware free) —-know that it was MY ERROR and not the security of this site.

To end on a positive note – this site remains spam free for nearly nine months and has NEVER been compromised since it’s inception.

XML test v7 – Override all PHP, CSS and .js | populate a WP page with custom XML. Success!

click here to view an outline in XML format. PHP 5 offers an @Override for all plugins and theme/css hard-wired to every WP install. It generates a blank pallete with a few simple commands (in PHP) that disable all my adds, stylesheets “background shit” that WP infrastructure. WP is great but if I cannot post a simple outline for instructional purposes, what good is it? Most plugins are incompatible with WP v4.2. This will come up as clickable link, I have yet to decipher a system to embedd pure XML into a post or page manually…if you click on this link you will see that code I wrote does just that…just not on THIS page. So I’m zeroin in on a solution to override all Javascript, PHP, CSS and whatver else is in the backbone of WP in order to display custom XML pages (and html, shtml….) w/o getting tied into the complexity of all my ads and style, media, calls to YT databases and other multimedia content that loads on the main page. Ideally this Copy Editing 101 tutorial should load in <1second. On avg. it take 6-9 second to load the main site.

The other goal is to post code or pictures of say…an educational outline by coding as opposed to taking a snapshot of the XML, saving it as a jpeg and posting it here as picture. That is functional workaround, but I don’t like it.