Working with PixiJS V4’s DisplacementFilter

PixiJS LogoIf your new to PixiJS, and like me who love to dissect working demos examples, you’ll find that the best demos are the ones by PixiJS on their website. For filters, check out this demo. Most you’ll find out in the wild on the internet are usually for the older pixiJS versions 1 to 3. And if you haven’t really read the docs over there you might be pulling your hair out trying to do certain things with PixiJS.

We’ll I’m here to get you started with one of the cool filters that come with PixiJS V4 called the Displacement Filter. This filter is the same type we’ve used in 3D application material designs. The Displacement filter uses the measurement of white and black variations of the displacement map(image) to determine its offset view. This offset is by “x” and “y”. So what’s really cool about the “DisplacementFilter” in PixiJS V4 is that you can use different displacement graphics to create all types of effects with this one single filter. The most famous effect for the displacement filter is the underwater look as demonstrated below.

Underwater Effect

So here is the code below

And the displacement map image we used for the water filter
Image for Displacement Filter

Now here is where you can have some fun, try changing out the displacement map image for a different tiled background image. Make sure its a tiled image which means it repeats seamlessly. It also has to be black and white. Hope this helps get you started working with filters and PixiJS V4.

You can download the source files here, if this was helpful to you, please give me a like or share on the article. If you have a comment or question, let me know.

B-17 Flying Fortress Bomber Free Vector Illustration with SVG and PNG Files

B-17 Flying Fortress Bomber Free Vector Illustration with SVG and PNG Files

I had a project recently for Miami International Airport where I created a vector B-17 bomber for a collage and decided I’d add it as a free download to the public. The B-17 Flying Fortress Bomber is famous for its bombing campaigns during World War 2. You can get a good read on Wiki about the Boeing B-17 Bomber.

To download and use these files, I only ask that you give me a like/tweet/google+. This may not and should not be redistributed and sold for any amount of money. Enjoy!

statsOmeter – A jQuery odometer style Statistics Counter Plugin

statsOmeter jQuery Plugin ExampleDisplaying statistic numbers on your website has become quite popular and has been trending since mid-year of 2016. You may have seen a section on a site you scroll to with statistic information like “Projects Tackled – 347” or humorous stats like “Cups of Coffee – 2,547”. Some are static and some animated. These type of stats tend to introduce the performance and human factor of the company and lend to some good marketing points of view that align with info-graphics.

While playing around with some stats Ideas lately, I created a few different types of animated stats displays and out of the 3 I created, statsOmeter was one I wanted to share with the web development community. This little jQuery stats plugin will add an odometer type stats bar to a specific div with a specific class name. A plus to this stats counter is that you can use letter characters as well to spell words as well as adding a happy and sad face via characters ” ) ( :”. Adding letters allows you to also add humor to your stats. Very simple to use and you can change its appearance via CSS to match your website theme.

Here are some cool features about statsOmeter:

  • Supports Letter Characters as well as Numeric
  • Mobile Friendly
  • Animates when scrolled in view
  • Multiple stats support
  • Auto-centered
  • Easy to setup

statsOmeter is free to use, if you like it, please give me a like or share. Get more info and instructions on the statsOmeter page here. You can download it here as well.

BusnHours – A Business Hours Plugin for WordPress

Just about every business displays an open and close hours notice in their store front or on their website. Since this is a common task for me and many web developers to create for clients, a few years back I created a JavaScript/jQuery app that not only displayed the hours, but highlighted the current day of the week and showed an animated “open” notice appended next to that particular day based on the current time the page was visited. This gave a polished and professional look to the site and made it easier for customers to acknowledge if your business was currently open or closed.

Business Hours

Since I’ve had an increase in request over the past few years for WordPress websites, I decided it would be beneficial to create a WordPress plugin version that would not only be super easy to add to the site during development, but would allow my clients to easily change and edit their business hours through accessing its settings page.

busnHours works by retrieving your server time and with your location setting configured, displaying an accurate time that your business is opened. If a visitor to your website is viewing the business hours section of your web page minutes before your open or just before your closed, the notice will change immediately when your business hours time matches the current time your opened or closed. I refrained from using multiple Ajax calls every second to the server to constantly update the app since that can weigh in on your servers CPU or even give issues to WordPress. This gets the server time once and runs a JavaScript clock to power the notification. busnHours can be placed on any page or blog with a simple shortcode.

busnHours only supports businesses hours of operation from 6:00am to 10:00pm. Future updates will support Holidays settings and more customizations. This plugin for a limited time is available as a free download. Eventually it will only be available by either a paid one time fee or annual subscription with support and free updates. For details, info and to download, please visit the busnHours plugin page.

Cool Features

  • Non-live server polling powered by a JavaScript clock using first and only server poll to keep track of time, reduces server load
  • Animated Notice when Open
  • 6 Messages, 3 when your open, 3 when closed. Messages are when open = “Almost Open”, “Just Opened” and “Open Now” Messages when Closed = “Almost Closed”, “Just Closed” and “Closed Now”.
    These messages are shown in a frequency of 15 minutes, at 15 to prior/exact time/15 after time

Business Hours Demo Below

  • SUN Closed
  • MON 9:00 AM - 5:00 PM
  • TUE 9:00 AM - 5:00 PM
  • WED 9:00 AM - 5:00 PM
  • THU 9:00 AM - 5:00 PM
  • FRI 9:00 AM - 5:00 PM
  • SAT Closed

Getting and setting image width with jQuery based on their original size

You may be developing a website where a gallery or portfolio application of photos that will be uploaded in various sizes. Creating responsive CSS for images we typically set a width of 100% and then add a max-width of a specific size such as 1900 pixels to allow scaling for mobile devices. However if your image is below 1900 pixels wide, lets say at 1000 pixels wide, you’ll get an upscale to 1900 pixels wide creating a non-pixel perfect blurry image. A solution if needed with jQuery is to use JavaScript’s ability to get the original images size and auto apply it to the image with a max-width of whatever that image size is. Below is an example of code on how to do so within a a container with a class name of “photos”.



As you can see by code this will get all images within the container using jQuery’s “each” loop and apply their max-width size as an inline style on each image. Of course you’ll need your CSS setup like below as example max-width 1900 pixels. I chose this size since I only develop websites to max fit standard HD resolution. Notice its 1900 not 1920 to allow for 10 pixels of padding on left and right sides of the container(“photos”) or your body tag for mobile:


Your image will abruptly change size after loading, that’s why its best to set an opacity on them at “0” and once the page is loaded add the opacity of “1”. You can animate a fade in with jQuery or even take it a step further and add a loader per image. Typically if your building a web photo application these are things you would do.

Rosie The Riveter Free Vector Clipart Illustration in SVG Format

Rosie the Riveter

I recently helped out a friend on a project that needed a clip-art image of the iconic Rosie the Riveter. The project needed a very large version and I requested we use a illustration I would create in vector format so it could be scaled to any size without losing any detail. For those of you who don’t know who she is, Rosie was an iconic graphic created during World War 2 for the women who where working in the factories and shipyards while the men where off fighting the war. Rosie symbolizes the power of women and what they can and have done for our country. You can read more about her in this Wiki.

My Free illustration of Rosie the Riveter is available in 2 versions(original and retro) and is a free download in 4 formats(2 SVG and 2 Illustrator files) for anyone who needs to use it in their projects. You can change and edit the colors as you like. You will need a graphic program to use these if your going to print them like Illustrator. There is a free vector program called Inkscape you can get here. Or you can also use a free raster program to open the SVG files like Gimp, which you can get here. If your going to print this to silk screen for t-shirts you’ll need to properly separate the colors on layers and most likely adjust the colors in pallette.

To download and use these files, I only ask that you give me a like/tweet/google+. This may not and should not be redistributed and sold for any amount of money. This IMO should be free to use. Enjoy!

Speed is King, Introducing AMP HTML

amp example of speedAMP HTML are web pages designed to load near instantaneously. With mobile devices as the leader in internet access today, Google and many other companies have created the AMP project. Google best explains it as quote; ” For many, reading on the mobile web is a slow, clunky and frustrating experience – but it doesn’t have to be that way. The Accelerated Mobile Pages (AMP) Project is an open source initiative that embodies the vision that publishers can create mobile optimized content once and have it load instantly everywhere.”

AMP HTML is a subset of HTML for authoring content pages such as news articles, blogs and products in a way that guarantees certain baseline performance characteristics. If you’re looking to optimize your site or client’s websites for speed. AMP is the way to go. For and introduction to AMP HTML see the video below. For more details see the website.

Custom Christmas eCard

Custom Christmas eCard Example
This year I wanted to create a custom eCard to send to family and friends and came up with a 3D pop-up eCard design. To make it work I relied on getting parameters from the URL link I would send out. After designing and building the eCard. I realized I had quite a few to send it too and created a small app page to create the link to make it easier and thought I’d share this with everyone , so you can also use it. Check it out here, and here is the link for customizing it to send to someone: Merry Christmas! 🙂

Free Social Media Icon Pack – 14 SVG rounded hollow-cut Icons

For graphic designers and web designers, check out my updated social media icon pack. I added “Snapchat” and “Behance”. These are 14 social media icons that are round hollow-cut, meaning the silhouette of the symbol is cut out. They are SVG vector so you can use them directly in Illustrator, Photoshop, InDesign, Gimp and other graphic programs. For web designers, this is perfect for today’s web and mobile devices since they are SVG and scalable and retina ready for iPhones and Apple devices. This is free and you can download it here. If you like it, please share it and give me a like or Google+!

Social Media Icon Pack

  • Facebook
  • Github
  • Google+
  • Instagram
  • LinkedIN
  • Picasa
  • Pinterest
  • Behance
  • Snapchat
  • Twitter
  • Vimeo
  • YouTube
  • Share
  • RSS Feeds


(** Edited to remove Dribbble icon and replace with Behance, sorry but Dribbble has a stuck-up community which cannot compare to the talent you see at Behance! )