Tantalizing Tendril

Similar to my previous Candy Cosmos post, this ActionScript Flash experiment/art/eye-gouge isn’t interactive but it’s pretty fun to watch.

Update: You can see a gallery of images created with Flash ActionScript code similar to that used in the above example. Be sure to check out the Tantalizing Tendril Image Gallery.

Improving the Limit Function

As a continuation of a previous post “How to Limit a Number Between Two Values” I thought I’d make my “limiting” code a little more versatile.

The previous post used the following code to ‘limit’ or ‘constrain’ a number between a low and high value:

//
// Limit a number between two values.
function limit (num, lo, hi){
    if (num < lo) return lo;
    if (num > hi) return hi;
    return num;
}
//

But what if you don’t want to, or can’t, control the order of the “lo” and “hi” arguments?
Read More

A Quick Question

[poll id=”2″]

How to Limit a Number Between 2 Values

Limiting or constraining a number to a specified range of values isn’t the most common task you’ll have to perform in Flash, but it does pop up from time to time. If you encounter such a situation here is a little bit of code for your consideration:
Read More

Thank You for Commenting

I don’t respond to all the comments made on this site but I do appreciate the fact that people take the time to share their opinions or voice their appreciation. It soothes my dark crusty old soul to hear from people around the world and learn that I may have helped or influenced them in some small way or another.

So, to JM, Benj, Mike, Grant, Felipe, Jose, Amiby, Totli, Vincent, Mauricio, Bob, Tini, Robert, and all the others who left a comment, I say “Thanks for sharing.”

If you’re reading a post and think you might have something to add, or if you’d simply like to say “Hi” or “Thanks”, please don’t hesitate to do so, you just might make my day. 😉

Random Candy Colors

If you saw my recent “Candy Cosmos” post, you may have noticed that the randomly generated colors tend to be rather “vibrant”.

rainbbowgradient.jpg

Pure red, green, blue, cyan, magenta and yellow colors appear frequently, while pure black and white colors occur occasionally, and colors near 50% gray tend to be the least common. The bright candy colors are a side effect caused by
Read More

Not a Calendar, Planner, Diary or Timeline

The “Time Lion” is not a calendar, planner, diary or timeline. In fact it’s hardly useful at all. Sure, in the past I’ve used it to track time spent on client projects and I’ve even used it to track my diet and medications once or twice but I still haven’t found many other uses for it.

The “Time Lion” attempts to visualize Time and let you interact with events in said time through a unique Flash interface. In a sense, it gives you relatively quick access to 10,000 years of events
Read More

© Sean O'Shell 2007-2024