CSS Transitions / Animations with Different Easing Functions

Animating elements can be done simply with linear speed. However, you can achieve some very interesting effects using different bezier curves. Many popular easing functions and how to use them can be found at Eastings.net. If that’s not enough, you can play around with creating custom easing functions at Cubic-Bezier.com.

Continue reading CSS Transitions / Animations with Different Easing Functions

Fasting to Cure Diabetes, Hypertension, Cancer, Arthritis and Other Diseases

Apparently, fasting for 2 to 3 weeks while only drinking water can oftentimes permanently cure diseases like diabetes, hypertension and rheumatoid arthritis. It can also expedite the curing of cancer and other diseases. You basically starve the cells causing the disease. This extreme type of fasting must be done in a supervised environment with doctors checking your health periodically.

Some water fasting clinics include

Watch the full 1-hour documentary at https://www.amazon.com/Science-Fasting-Sylvie-Gilman/dp/B075848T5T.

The first 3 days of water fasting are the worse but afterwards, people don’t feel hungry anymore and they begin to actually feel good. The body then adapts and gets detoxed. Headaches may occur.

Continue reading Fasting to Cure Diabetes, Hypertension, Cancer, Arthritis and Other Diseases

Native JavaScript: Event Handling of Dynamic HTML Elements

In jQuery, if you dynamically add an element to the DOM and want to attach an event handler to it, that’s very easy with the following line of code.

However, if you try to do that with native Javascript, you have to do with by checking for all clicks on the page and only acting on clicks where the click occurred on the element you want to act on.

Obviously that’s no good. One workaround is to put the HTML element in the page somewhere(if that’s possible in your case), then detach and attach it to where you want to dynamically put it, then add an event listener specifically for that element, e.g.

Blend Two Audio Clips Seamlessly Using Audacity – Cross Fade

Let’s say you want to mix two songs together with a seamless transition from one song to the other. Or, let’s say you want to strip out sections of a song and create a seamless transition between the sections you like. This can easily be done using the Crossfade Tracks effect in Audacity.

  1. Add a new stereo track
  2. Paste the second audio song or clip into the new stereo track so you end up with song / audio clip 1 on track 1 and song / audio clip 2 on track 2.
  3. Select the sections of both tracks where they overlap and choose Effect > Crossfade Tracks.
Continue reading Blend Two Audio Clips Seamlessly Using Audacity – Cross Fade

Home Sound System Setup Using Bose

I recently experimented with sounds for my living room and came up with the following setup. Here’s my setup and the reasons for it.

Components:

  • Bose SoundTouch 300 Sound Bar: $700
  • Bose Acoustimass 300 Subwoofer (Bass Module): $700
  • 1 Pair of Bose SoundTouch 10 Speakers: $330 (at Costco)
  • 1 Pair of SoundXtra Wall Mounts For Bose SoundTouch 10 Speaker: $70 (on Amazon)

Sub-Total: $1800
Tax: 10% ($180)
Total: ~ $2000

Note: I haven’t bought the Acoustimass yet because it’s pretty expensive. However, I have tested it and it sounds great when your sound source contains bass.

Continue reading Home Sound System Setup Using Bose

Quick Slideshow Video Creator – Custom Photos and Audio

If you’re looking for a quick and easy way to create a video of your photos with custom audio, Slide.ly can do this. Here’s the rundown:

  •  Up to 90 custom images / photos
  • 1 audio / song  (to use multiple audio files / songs, edit and combine them first, e.g. using Audacity)
  • Add custom captions for each photo
  • Different themes
  • Player is HTML-based, not Flash-based.
  • Can make private
  • Can’t download video because the end result isn’t a video.
  • To make a video of your Slide.ly, record the screen. See instructions. Then upload to YouTube or Vimeo.

If you need something more powerful but still simple, try Wondershare Slideshow Builder.