Batch Search and Replace in VisualStudio Code

Have you ever needed to do search and replace multiple times against the same file or set of files. If so, the Batch Replacer extension for VisualStudio Code makes this very simple.

  1. Open a folder or file in VisualStudio Code
  2. Create a new file (no need to save it) and enter some search and replace instructions, e.g.

In the example above, I want 3 different replacements done in the order shown and I only want the replacements done to a specific file. The “in” command is followed by the path of the file relative to the root of the workspace open in VS Code. If the file is open, you can get it by right clicking on its tab and selecting “Copy relative path”.

3. Execute the replacer script

To run the batch replacements, you active tab must be the tab containing your replacement instructions. Then, hit CTRL+SHIFT+P -> Batch Replace. A status window will appear in the bottom right corner telling you how many files have been modified. If you want to batch replace across all files in your workspace, don’t include the “in” instruction.

How to Make a Quality Video Presentation With Slides and Someone Talking

In this article I explain how to create a video presentation like what you see below. Features of this video include:

  • custom background (still image or video)
  • the presenter on one side
  • presentation slides on one side
  • clear audio

Equipment

Following is the equipment I used to make this type of video.

Video Editing Software

Corel VideoStudio Ultimate – $80

Presentation software

Google Slides (online) – Free

Wireless Presenter Pen

This is used to change slides wirelessly.

Generic Pen – $11

Green Screen

I bought a 7’x10′ green screen. I got just the fabric because I semi-permanently attached it to my garage ceiling since I don’t plan on using anywhere else.

Generic green screen – $21

Learn how I set up my green screen

If you want a green screen that comes with a stand, there are many options online (Amazon, etc) but they are more expensive.

Lighting

Lighting is key to getting good chroma key results and a good video overall. In particular, you want to eliminate shadows as much as possible.

Generic Softbox Photography Lighting Kit – $67

Background Image or Video

You can replace the green background with a still image or a video. One stock photo and video site is ShutterStock.

Video Camera

I just use my smartphone (Google Pixel 3 XL) to take videos.

Microphone

In order to get clear audio, you need a microphone. You can get one with a 3.5 mm jack or a USB C jack, depending on your recording device.

USB C Lavalier Mic 10 feet long – $15

iBower Lavalier Microphone (IBO-MIC100) – $26

If your phone has a USB-C jack instead of a 3.5mm jack, you’ll need an adapter and an extension cable. I’m using the Apple – USB-C to 3.5mm Headphone Jack Adapter – White ($9) and a 16′ long TRRS 4 pole 3.5 mm male to female audio extension cable ($9)

Important: the audio cables MUST be 4 poled TRRS cables / adapters, not 3 pole TRS cables / adapters. The extra pole is for the microphone.

Video Recording App

I use Cinema FV-5 to record video from my phone because it supports an external mic on my Pixel 3 XL.

Cinema FV-5 ($2.50)

An alternative to this app is Open Camera (free).

Tripod

A tripod is necessary to hold your smartphone at the correct height to take videos.

AmazonBasics Tripod – $18

Tripod Mount Adapter for Smart Phones

This mount will allow you to hold your smartphone to the tripod.

Generic Tripod Mount Adapter for Smartphones – $10

Laptop

I use a Lenovo with 16 GB of RAM and an SSD both specs of which are necessary for video editing performance. I got mine on sale from Costco.

Laptop Stand

I’m using a sheet music stand as a laptop stand.

GLEAM Sheet Music Stand Metal with Carrying Bag – $28

Workflow

The overall workflow is as follows:

  1. Create presentations slides and export them as images
  2. Record video
    1. Stand in front of the green screen with softbox lights on
    2. Clip lavalier mic to shirt and connect it to smartphone on tripod (if necessary, using USB extension cables and an adapter).
    3. Place laptop on laptop stand outside the camera field of view
    4. In video recording app, ensure audio source is set to “external mic”.
    5. Press record and speak while reading and changing slides remotely using the wireless presenter pen
  3. Create final presentation video

Google Slides Tips

Export all slides as images

Creating slides in Google Slides is very similar to how you create them in other presentation apps like MS Powerpoint. In Google Slides, however, if you want to export all slides as images, you need an add-on. I use Slides Toolbox by Digital Thoughts. Once you’ve added that add-on, you can open it

and choose to export all slides as JPG or PNG images.

Set a background with transparency

Notice how in my final rendered video, the background video shows through the slides.

That was accomplished by setting the transparency of the background in Google Slides to around 70% opaque (30% transparent). If you want a semi-transparent background, then you must export the slides as PNG images rather than JPG images.

Test Slides

Download a sample presentation with semi-transparent background in ODP (OpenDocument Presentation) format which you can import into Google Slides.

You can also download the test slides in PNG format for importing into VideoStudio.

Video Recording Tips

  • Position the lavalier mic such that you don’t hear the sound of you breathing.
  • Stand far from the camera to record more of yourself. You can always crop the video later.
  • If you have a fast computer with plenty of SSD space, record your video in 4K for ultra hi definition (UHD) resolution. Otherwise, record at 1080p hi definition (HD).
  • Using the softbox lights, and other lights, if necessary, eliminate as many shadows as possible. For example, the picture below shows dark shadows which will be difficult to remove when you’re editing the video.
  • In the Cinema FV-5 video recording app, set audio source to “external mic”. When you push the cable into your phone, the wired microphone icon near the top-right corner appears in the app. This tells me the audio source will come from the external mic.

Video Editing Tips

NewBlueFX Chroma Key Filter

Use the NewBlueFX Chroma Key filter in VideoStudio to key out the green background. Read my blog post titled NewBlueFX Chroma Key to Easily Remove Green Screen in Video for step-by-step instructions.

Organize assets

Put all assets in a single folder. Below is a screenshot of my video assets which includes

  • 1 background video of the earth rotating
  • 5 semi-transparent presentation slides
  • 1 video of my giving a presentation in front of a green screen

For the background video, I picked a video that could be looped seamlessly.

Smart Proxy

Make sure to enable Smart Proxy in VideoStudio to improve video editing performance. For more information, read my blog post titled Improve Performance When Working with Large Videos in Corel VideoStudio.

Export

When you export the video, you will have many settings and export presets to choose from. For each preset, you can see the estimated output file size. There’s no point in choosing a high quality output if the source video is low quality. In Windows Explorer, right click on the foreground video and click Properties > Details to see the video specs. The screenshot below shows that my foreground video taken on my phone was 1920×1080 with a bit rate of 22254 kbps (~22 Mbps) and a frame rate of 30 frames per second (fps).

For this, I chose the following spec which gave an estimated output file size of 252 MB for a 13 minute video.

Workflow

In VideoStudio, my workflow is

  1. Create a new project
  2. Add all assets (videos, slides, etc) to the project
  3. Verify SmartProxy is enabled
  4. Add an overlay track so that I have 2 overlay tracks
  5. Drag the background video to the Video track
  6. Drag the slides to the Overlay 1 track in order
  7. Drag the foreground video with the green screen to the Overlay 2 track
  8. Crop the foreground video as necessary
  9. Using NewBlue FX Chroma Key filter, remove the green background so that it’s transparent
  10. Copy and paste the background video multiple times to span the duration of the foreground video
  11. In the Preview panel, drag the foreground video to the left
  12. In the Preview panel, drag the slides to the right and line them up using the grid that appears
  13. Preview the composite video and make changes, as necessary
  14. Export the video

How to Take Pictures to Get the Right Shot

Most people take pictures by just manually taking a shot when they are ready. Since many things could go wrong with taking just a single shot, e.g. the subject blinks or yawns, a car drives by, etc, then some people will take multiple shots manually – maybe 2 or 3. However, this still doesn’t necessary offer the best shot because the subject may not like how they look in a particular stance or the lighting may not be at their particular angle. Also, photos of people just looking straight at the camera or posing often look boring, as opposed to photos that appear to be taken randomly or without the subject knowing.

Snapshot from Video

To resolve this, you could take a 4K video from your mobile phone, open the video in a video play like VLC, scrub through the video and when you are on a frame you like, take a snapshot (not a screenshot).

Pros:

  • many frames to choose from (usually 30 frames per second)

Cons:

  • large file size
  • must open video and scrub through and pic from you like
  • videos are generally more compressed than images

Series of Still Images Taken Automatically

To get around the cons of the video approach, you can take a series of still images and just pic the ones you like. This is sometimes called “burst” mode. Ideally, you would be able to

  • set a delay timer (if you will put the camera down and be in the picture yourself)
  • set how many pictures to take, e.g. a max of 5 or 10 pictures or unlimited if you want to stop taking pictures when you push a button
  • an time interval between which photos will be taken, e.g. take a picture every 0.5 seconds, 1 second, 5 seconds, etc.

One app that meets these requirements is Open Camera. It’s free and looks well made. In the screenshot below. I enabled Face detection so that if the subject moves, like when you’re taking a video, the subjects face should always be in focus. I set Repeat to 10x to take a maximum of 10 pictures and I set Repeat mode interval to 1s so a picture will be taken automatically every 1 second.

In this example, I’d end up with 10 pictures. I could then just pick the best one and delete the rest.

Comparison

To compare the picture quality of this method verses taking stills from a video, consider the following photos.

From video
From a series of still images

If we zoom in to 100% and focus on a small section, you’ll notice there are more artifacts and blurriness in the still taken from the video, not to mention the contrast and color looks much better in the still shot.

From video
From a series of still images

If I enlarge the images, the artifacts in the video snapshot become much more apparent.

From video
From a series of still images

If you set the Repeat to Unlimited and Repeat mode interval to No delay, the app will take as many pictures as it can until you push the stop button. For comparison, a 10 second 4K video consumed 61 MB whereas 10 seconds of unlimited, no delay pictures produced 23 images totaling 45 MB.

The next time you want to take a picture, you may want to try Open Camera and take a series of many pictures as your subject walks around or behaves naturally.

Get Silky, Shiny, Soft, Smooth and Frizz-free Hair

A few years ago I tried a product called Leave-in Hair Treatment with Argan Oil by HSI Professional. It came in a red box and bottle.

You just dab a little in the palm of your hand and massage it through your hair and it instantly makes your hair look and feel better. The ingredients are

Cyclopentasiloxane
Dimethicone Crosspolymer,
Argania Spinosa (Argan) Oil,
Fragrance (Parfum)
D&C Red #17 (CI 26100)
D&C Yellow #11 (CI 47000)
Benzyl Benzoate
Benzyl Salicylate
Amyl Cinnamal
Benzyl Salicylate
Butylphenyl Methylpropional
Geraniol
Hexyl Cinnamal

Unsurprisingly, it got many good reviews on Amazon.

Unfortunately, this product has been replaced with a similar but slightly different product. It’s good but definitely not as good as the original formula.

The ingredients are

Cyclopentasiloxane
Cyclotetrasiloxane
Dimethicone Crosspolymer,
Argania Spinosa (Argan) Oil,
Fragrance (Parfum)
D&C Green #6 (CI 61565)
D&C Red #17 (CI 26100)
D&C Yellow #11 (CI 47000)
Benzyl Benzoate
Hexyl Cinnamal
Lillial

The new formula has the same ingredients as the old formula except it’s missing the following

Benzyl Salicylate
Amyl Cinnamal
Benzyl Salicylate
Butylphenyl Methylpropional
Geraniol

To understand the difference and find products that are just as good, if not better, here is a list of products that have similar ingredients. Note that the percent amount of each ingredient is in descending order.

Leave-in Argan Oil Treatment by Dermorganic

Cyclopentasiloxane
Dimethicone
Organic Argania Spinosa (Argan) Kernel Oil
Organic Vitis Vinifera (Grape) Seed Extract
Tocopheryl Acetate (Vitamin E)
Organic Helianthus Annuus (Sunflower) Seed Extract
Glycereth-2 Cocoate/Benzoic Acid
Parfum/Fragrance

http://www.dermorganic.com/shop/index.php?main_page=product_info&cPath=1&products_id=5

https://www.amazon.com/DermOrganic-Leave-Argan-Oil-Treatment/dp/B0057OU50E/

Kiehl’s Smoothing Oil-Infused Leave-In Concentrate

https://www.kiehls.com/skincare/travel-size-products/smoothing-oil-infused-leave-in-concentrate/3605970914455.html

Cyclopentasiloxane
Dimethiconol
Parfum fragrance
Argan Oil
Orbignya oleifera oil
Linalool
Benzyl salicylate
Hexyl cinnamal
Benzyl alcohol
Coumarin
Limonene
Eugenol
Isoeugenol

Agadir Argan Oil Hair Treatment

Cyclopentasiloxane
Dimethicone
Cyclomethicone
Argania Spinosa (Argan) Kernel Oil (Argan)
Caprylyl Methicone
Phenyl Trimethicone
Fragrance (Parfum)

https://agadirint.com/products/4-oz-agadir%C2%AE-argan-oil-hair-treatment

https://www.amazon.com/AGADIR-Argan-Oil-Treatment-Oz/dp/B001U9M2EW

Moroccanoil Treatment

Cyclomethicone
Dimethicone
Argania Spinosa (Argan) Kernel Oil
Fragrance
Linum Usitatissimum (Linseed) Seed Extract
CI 26100 (Red 17)
CI 47000 (Yellow 11)

https://www.amazon.com/MO100ML-Tratamiento-Moroccanoil/dp/B001AO0WCG/ref=sr_1_1_sspa

One ‘n Only® Argan Oil Oil Treatment

Dimethicone
Cyclopentasiloxane
Dimethiconol
C12-15 Alkyl Benzoate
Fragrance (Parfum)
Argania Spinosa Kernel Oil
Red 17 (CI 26100)
Yellow 11 (CI 47000)

https://www.amazon.com/One-Only-Argan-Treatment-Ounce/dp/B004Q0BIFQ/ref=pd_lpo_194_t_2/136-1507301-2060236

Hask Argan Oil Repairing Shine Hair Oil

Cyclopentasiloxane
Dimethiconol
Argania Spinosa (Argan) Kernel Oil
Keratin Amino Acids
Glycine Soja (Soybean) Oil
Vitis Vinifera (Grape) Seed Oil
Citrus Aurantium Dulcis (Orange) Oil
Tocopherol
Aqua/Water/Eau
Peg-4 Laurate
Peg-4 Dilaurate
Lodopropynyl Butylcarbamate
Peg-4
Butylene Glycol
Phenoxyethanol
Ethylhexylglycerin
Citral
Limonene
Linalool
Ci 26100 (Red 17)
Ci 47000 (Yellow 11)

https://www.amazon.com/Hask-Repairing-Shine-Argan-Ounce/dp/B01EUNA3VS/ref=sr_1_2

Redken All Soft Argan-6 Oil

Cyclopentasiloxane
Dimethiconol
Dimethicone
Argania Spinosa Oil/Argania Spinosa Kernel Oil
Parfum/Fragrance
Benzyl Alcohol
Linalool
Coumarin
Limonene
Hexyl Cinnamal
Citronellol
Benzyl Benzoate
Amyl Cinnamal (D159206/2)

https://www.amazon.com/Redken-Soft-Argan-6-Multi-Care-Ounce/dp/B005KL2IAY/ref=sr_1_3

Ingredient functions

The information below was obtained from https://cosmeticsinfo.org/.

Cyclomethicone, Cyclotetrasiloxane, Cyclopentasiloxane

Detangle your hair, prevent breakage, and reduce frizz

Other names: D5, decamethylcyclopentasiloxane, cyclomethicone

Dimethicone, Dimethicone Crosspolymer, Dimethiconol, Dimethiconol

Hair fixative, viscosity increasing agent

Argan Oil

You can apply argan oil directly to damp or dry hair to improve moisture, reduce breakage, or reduce frizz.

Benzyl Benzoate, Benzyl Alcohol, Benzyl Salicylate, Amyl Cinnamal, Butylphenyl Methylpropional, Geraniol, Hexyl Cinnamal, Amyl Cinnamal, Lillial, Glycereth-2 Cocoate/Benzoic Acid, Linalool, Coumarin, Limonene, Eugenol, Isoeugenol, Citral, Citronellol

Fragrance

Organic Vitis Vinifera (Grape) Seed Extract (Oil), Organic Helianthus Annuus (Sunflower) Seed Extract (Oil)

Viscosity increasing agent, skin conditioning agent

Tocopheryl Acetate (Vitamin E), Orbignya oleifera oil, Caprylyl Methicone, Linum Usitatissimum (Linseed) Seed Extract (oil), C12-15 Alkyl Benzoate, Glycine Soja (Soybean) Oil, Citrus Aurantium Dulcis (Orange) Oil, Tocopherol

Skin conditioning agent

Phenyl Trimethicone

Phenyl Trimethicone reduces the tendency of finished products to generate foam when shaken. It also enhances the appearance and feel of hair, by increasing hair body, suppleness, or sheen, or by improving the texture of hair that has been damaged physically or by chemical treatment. Phenyl Trimethicone slows the loss of water from the skin by forming a barrier on the skin’s surface.

Keratin Amino Acids

Used for conditioning, moisturizing, known to make hair glossy, give it more body, and also for its marketing appeal (natural ingredient as well as hair is made from this). It’s a strong humectant, and pulls water into the hair. 

Peg-4 Laurate, Peg-4 Dilaurate

They also clean the skin and hair by helping water to mix with oil and dirt so that they can be rinsed away.

Lodopropynyl Butylcarbamate, Phenoxyethanol

Prevents or retards bacterial growth, thereby protecting cosmetics and personal-care products from spoilage.

Butylene Glycol

Solvents, viscosity decreasing agent

Ethylhexylglycerin

Deodorant, skin conditioning agent

How to Create an Automated Light Show in Sync with Music

Let’s say you have a bunch of songs and for each song, you want to have different colored lights come on and off and/or move around.

In order to do this, you need a few things:

  • Light fixtures
  • DMX Interface
  • DAW (Digital Audio Workstation) software / controller

Light fixtures

There are different types of light fixtures.

Ellipsoidal Reflector Spotlight (ERS)

This type of light is used to highlight certain subjects or stage pieces with a relatively narrow beam angle.

Parabolic reflectors (PAR)

This type of light is used to light up large areas. They come in a variety of lens types to get different beam angles. This light doesn’t have zoom or focus options. This is the most common fixture because it’s the cheapest.

Fresnel

This type of light is a happy medium between a PAR and an ERS. They have a zoom function but not a focus and usually cast a much “softer” light than ERS light fixtures.

Moving Head

This type of light can move. It offers different beam angles for spot (narrow), wash (wide), beam (laser) and hybrid light effects. It is the most versatile stage lighting option.

Above are only some of the more common types of lights.

To hang your lights, you can get a lighting stand with T-Bar.

DMX Interface

DMX (Digital Multiplexing) or, officially, USITT DMX512, is a unidirectional serial data protocol, meaning the signal leaves the controller (computer or lighting board) and travels through all lighting fixtures in a daisy-chain. It was standardized in 1986. DMX networks typically only have one master device on the network, usually the DAW software / controller, and many slave devices — the lights.

DMX Cable

The 5-pin XLR the standard connector.

The reason for five pins is that pin 1 would be the ground, pins 2 and 3 would be data link 1, and pins 4 and 5 were reserved for data link 2 and/or proprietary data. Over the years, the second pair of pins (pins 4 & 5) on the connector stopped being used, since 3-pin DMX proved to be very reliable. This is why you may sometimes see fixtures with a 3-pin, 5-pin, or both connectors on the fixture.

DMX vs Audio/Mic XLR Cables

Some DMX cables are 3-pin cables. Don’t confuse them with 3-pin audio or mic cables. DMX cables use roughly 110-ohms whereas microphone cables are typically around 45 ohms. The different impedance between these cables matters with lighting networks and can cause your lights to either not respond or respond sporadically.

Number of light fixtures per DMX cable

You cannot have more than 32 devices connected on a single chain. If you have more than 32 light fixtures, you would need to use an Opto-Splitter. A splitter like the Chauvet DJ Data Stream 4 will allow you to have 32 devices connected to each DMX output connector. You cannot use Y-cables, as this approach does not electrically isolate the DMX lines and would cause data reflections.

DMX Channels / Universe

A DMX line is limited to a total of 512 channels, which is also called a universe. Each lighting fixture you have uses a number of DMX channels depending on how many parameters the fixture has. Lights can also have multiple personalities, or profiles, depending on how much or how little control you want. Note that the 512-channel limit is independent of the 32-light fixture limit.

Let’s say you have 40 lighting fixtures that use three channels each: you are only using 120 channels total. You can fit these all in the same universe of control, however, if you have more than 32 devices. You would implement an Opto-Splitter and split your devices up among the outputs in whatever configuration you would like, as long as each DMX leg has less than 32 devices on it.

Example

Let’s look at the Chauvet DJ SlimPAR Pro H.

This light has three different personalities, or profiles. It can be used in a 6-, 7-, and 10-channel mode, and again the more channels a fixture uses, the more control you have. Let’s look at 7-channel mode:

  • Channel 1: Dimmer
  • Channel 2: Red
  • Channel 3: Green
  • Channel 4: Blue
  • Channel 5: Amber
  • Channel 6: White
  • Channel 7: UV

Each DMX parameter on a fixture operates independently. Say I was to make this fixture a magenta color. I would turn up channel 2 (Red) and channel 4 (Blue) until I got my desired shade of magenta. However, turning up just these channels on the fixture (2 & 4) would not put out any light. I would also need to turn up channel 1, which is my dimmer that controls the overall intensity. On moving fixtures, this control becomes even more complex, because there are other parameters available, such as Pan and Tilt or gobos, again all independent.

The best way to understand a light’s capabilities is by checking its DMX assignments. For example, the ADJ Starbust’s manual shows this.

Addresses

When setting up a lighting rig, each light fixture needs to be assigned a starting address. If I have four of the same fixture mentioned above in the same personality (7-channel mode), their addresses would be 1, 8, 15, and 22. All 512 channels of data flow through every fixture in a DMX lighting chain so each fixture needs to know which channels control it based on channel addressing.

DAW (Digital Audio Workstation) software / controller

There are many different DAW software, for example, Ableton Live and Pro Tools. They can be used to create music and control lights. This article isn’t about creating music but just controlling lights in sync with existing music. Therefore, the software we’ll use is Show Buddy.

Setup

To sync light effects with music (e.g. an existing mp3 file), we’ll use this setup.

Terminate the DMX cable chain by inserting a DMX terminator into the DMX Out port of the last light fixture.

DMXIS Software

Important terminology

  • Show (group of songs)
    You can create multiple shows. A show typically is the name of a list of songs, e.g. Yanni Concert
  • Bank (a song)
    You can create multiple banks per show. A bank can be the name of a song, e.g. Santorini
  • Preset (a light effect)
    You can create multiple presets per bank. A preset can be the name of a light effect. You can create multiple presets (light effects) for a bank (song) in order of when you want the preset (light effect) to occur during song playback. You can drag presets up and down to order them.

Workflow

  1. Add a light fixture
    If the light fixture you want to add isn’t in the DMXIS library, you can search for it at http://fixtures.dmxis.com/ where you can download user-uploaded DMX light fixes for importing into DMXIS. If you don’t find your fixture there, you can create and upload DMX light specs for your particular fixture. It is just a text file defining channel.
  2. Assign each light fixture to a starting address, e.g.
    • PAR light 1 (3 channels) starts at DMX address 1 (channels 1-3)
    • PAR light 2 (3 channels) starts at DMX address 4 (channels 4-6)
    • PAR light 3 (3 channels) starts at DMX address 7 (channels 7-9)
    • PAR light 4 (3 channels) starts at DMX address 10 (channels 10-12)
  3. Create a “show”, e.g. “Instrumental Songs”
  4. Create a “bank”, e.g. “Santorini”
  5. Create a preset, e.g. “Red”
  6. Adjust the sliders for one or more light fixtures, e.g. by making them show red light
  7. Save (overwrite) the “Red” preset
  8. Repeat steps 4-6 as much as needed

Resources

ShowBuddy Software

This software allows you to load audio files (e.g. mp3s) and for each song, place a preset (light effect) created in DMXIS at certain points in the song. Light effects can fade out over a specified amount of time.

Workflow

  1. Add audio files (songs / mp3s) to the Track Library
  2. Choose the DMXIS show to use in the DMXIS show dropdown
  3. Choose a DMXIS bank to use in the list of banks
  4. Choose a DMXIS preset to use in the list of presets
  5. Drag the preset to the wave form at the point you want the preset (light effect) to run
  6. Repeat steps 2-5 as much as needed

Resources

Capture Software

This software allows you to preview light effects.

Workflow

  1. Create a 3D stage
  2. Add one or more light fixtures to the 3D stage
  3. Patch light fixtures (assign them to DMX addresses)
  4. If the light fixture address assignment in Capture matches that in DMXIS, then DMXIS can control the light visualizations in Capture

Resources

  1. Manual (HTML)
  2. Create a stage and add a light fixture (Video)
  3. Patch and control light fixtures (Video)

Some Neat DMX Light Fixtures

Magic Ball

Simulate a magic ball with these lights:

Chauvet DJ Rotosphere Q3. $300

  • Size: 11 x 13 x 17 in
  • Weight: 8.6 lb
  • # of LEDs: 5
  • Watt per LED: 7
  • Color: RGBW (Red, Green, Blue, White)
  • DMX channels: 3, 9, or 19
  • Strobe Rate: 0 to 20 Hz
  • Rotation Speed: 2 – 19 RPM
  • Colors at a time: 3

ADJ Starburst RGBWA+UV LED Sphere Effect – $300

  • Size: 12.5” x 12.5” x 16.25”
  • Weight: 8 lbs
  • # of LEDs: 5
  • Watt per LED: 15
  • Color: RGBWY+UV (Red, Green, Blue, White, Yellow & Purple)
  • DMX channels: 12
  • Strobe Rate: slow to fast
  • Rotation Speed: slow to fast
  • Colors at a time: 1

Moving Light Beams

Create a moving beam with these lights:

Lixada Moving Head – $71

  • Size: 6.88 * 6.69 * 9.64in
  • Weight: 6 lbs
  • # of LEDs: 7
  • Watt per LED: 10
  • Color: RGBW (Red, Green, Blue, White)
  • DMX channels: 9 or 14
  • Pan/tilt: 540° / 270°
  • Strobe Rate: adjustable
  • Beam angle: adjustable
  • Rotation Speed: slow to fast
  • Colors at a time: 1

Wash

Wash walls or a stage with these lights:

Chauvet SlimPAR Pro.

Kebert Par Lights – $20

Blinders / Strobe Light

Create very bright white flashes of light with these lights

Blizzard SnowBlind™ and SnowBlind™ FX strobe fixtures. – $119

MFL S100 132LED White bright Stage Lighting Strobe Blinder and Wash Light – $88

Cost Breakdown

Light Fixtures

  • 1 magic ball – $300
  • 2 moving heads – $66 x 2 = $132
  • 1 blinder – $88
  • 4 PAR cans – $20 x 8 = $160

Subtotal: $680

Hardware / Software

  • DMXIS – $300
  • Show Buddy – $119

Subtotal: $419

Cables

  • DMX 3 pin cables – 10 pack – $26
  • 1 x DMX terminator – $10

Subtotal: $36

Total: $1135

Different Light Effects

Wall Wash

Regular

Laser / Pin Spot

Beam

Magic Ball / Disco

Moving / Scan

Blinder (super bright light)

Chase (lights turn on and off sequentially like dominos)

Strobe / Flash

Alternative Setup

If you’re on a Mac, an alternative setup is to use LightKey coupled with Ableton Live.

or SoundSwitch.

Quick Intro to SketchUp 3D Modeling

Here’s a quick intro to 3d modeling using SketchUp in the browser.

Note: you can use SketchUp online or using the downloaded app. The free version of SketchUp doesn’t support creating Bezier curves. For that and other features, you’ll have to upgrade to SketchUp Pro.

When we create a new SketchUp sketch, we see this screen.

Let’s say we want to make four posts for a pergola. The posts are 6″x6″x10′ tall (actual dimensions are 5.5″x5.5″x10′).

First, under Model Info, we set the length format and precision.

To create our first post, we choose the Rectangle tool.

We click once in the 3D space and drag to create a rectangle which is 5.5″ x 5.5″. When dragging, we see in the bottom right corner the dimensions of the rectangle.

Instead of dragging until you get the right rectangle dimensions, just type 5.5,5.5 and then hit Enter.

Now, to complete making the first post, we need to “pull” the rectangle (actually, it’s a square) up 10 feet. Click the “pull” button.

Then click the square and drag up.

Again, to simplify getting the right dimensions, just type 120 and hit Enter to make the post 10 feet tall. Since all measurements are in inches, we type 120 instead of 10. SketchUp then converts the 120 to 10′ in the Dimensions box in the bottom right corner.

To verify the dimensions of any side of the object, click the Select tool.

and then click a side, e.g. a long side of the post, and in the Entity Info panel, we see that the length of that side is 10′.

Now, we’ll copy and paste that post by selecting the entire post, hitting Ctrl+C and Ctrl-V, and clicking where we want the other posts to be.

Now, the 2nd post is clearly not lined up with the first so we have to move it. Moving objects in SketchUp can be confusing to new users. Here are some ways to move an object.

Moving an object against another object

Let’s say we want to move the 2nd post flush against the first post. First, we orbit the view, if necessary, and select all of the 2nd post.

Then, we click the Move button.

and click on one corner of the 2nd post that we want to touch a corner on the first post.

Then, we click on the corner of the first post where we want that corner to touch. Now, the posts are flush and lined up together with each other.

Moving an object along an axis to line up with another object

Let’s say the 2nd post is higher up than the first post. We want to lower it so that both are on the ground, so to speak. We want to move the 2nd post vertically along the Z axis down until its bottom is on the same plane as the bottom of the first post. To do this,

  1. select the 2nd post
  2. click the Move button and click the bottom left corner of the 2nd post
  3. drag up and down until you see “On Blue Axis” which is the Z axis
  4. hold the Shift key – you will see the tip “Constrained on line from point” which means your movements are constrained to the axis you were on (blue / vertical / Z)
  5. while holding Shift, drag and click on the bottom right corner of the first post.

You can also constrain movements to other axes as well.

Moving by Coordinates

Using the dimensions tool, we mark the distance between the two posts along the green axis. We get 12′.

Let’s say we want the distance between them to be 10′ instead.

Relative coordinates in SketchUp are indicated as <r,g,b> or <red,green,blue> (the colors of the axes). So, if we want to move 2′ (24″) towards the first post (towards [0,0,0]), we can do this

  1. select all of the 2nd post
  2. click the Move tool and click the bottom left corner
  3. drag a little anywhere to begin movement
  4. type <,-24,> and hit Enter

Now, the distance between the two posts along the green axis is 10′.

Absolute coordinates in SketchUp are indicated as [r,g,b] or [red,green,blue]. So, if we want to move to the center of the coordinate system, we do the same as above except we enter [0,0,0].

Using the techniques above, we can make 4 posts that are exactly 10′ apart and all on the same red-green plane.

Interior and Exterior Wood Stains

Following is a comparison of exterior wood stains on expensive redwood and cheap douglas fir.

Exterior Stains and Sealers

  • Olympic WaterGuard Sequoia Red Transparent Wood Stain and Sealer
  • BEHR Premium Clear Transparent Waterproofing Exterior Wood Finish
  • Varathane Clear Gloss Oil-Based Exterior Spar Urethane

For the redwood, I didn’t want to change the color of the wood so I went with a transparent solution. However, I did want to accentuate the natural color and the grain. I also wanted a glossy look. Of all the sealers tested, the Varathane sealer looked the best to me. It also looked good on Douglas fir (cheap construction wood) as it also brought out the grain lines.

Here’s another look at the Varathane oil-based stain on redwood and douglas fir. Of course, the vibrancy of the color will differ in different lighting.

For interior wood, I find that the Minwax oil-based stain in the Gunstock color produces nice red results with clear grain lines followed by triple-thick glossy polyurethane.

As you can see in the photo below, water doesn’t penetrate the wood because the sealer adds a protective layer on it.

Create a Time Lapse Video Using Smartphone (Android)

Creating a time lapse video is great for quickly showing changes that happen over a long period of time, e.g. the sky changing from day to night. I recently made a time lapse video of a pergola construction project using an Android app called Framelapse. It’s a very simple app which takes pictures at a user-specified interval over a set period of time or until you stop recording. What’s great is this method doesn’t fill up your phone by taking an actual video at the normal frame rate of 30 frames per second. For my first timelapse video, I chose a frame interval of 4 seconds. When I stopped recording, the timelapse video was instantly done and available in my Google Photos app and backed up to Google Photos in the cloud. I added some background music and I was done. Here’s the final video.

How to Install 4 Posts Square and Plumb (like for a pergola)

This weekend I built the frame of a pergola. The posts are 6x6x10 Redwood posts and they’re heavy. We had the posts go 15″ in the ground but before pouring cement, we wanted to make sure the posts were level and plumb.

To hold the posts in place while we measured, we filled buckets with dirt and temporarily secured each posts to them using either screws or clamps.

Once the posts were held in place, we installed the headers on top. This would hold the posts in place and, theoretically, help ensure the posts are plumb.

We then measured for level and plumb using straight levels and post levels.

We also measured the distance between posts to ensure corresponding sides were the same length. We could have also measure the two diagonal distances but we didn’t. We measured using a laser measure and a tape measure. Unfortunately, these can give inaccurate readings if, for example, the laser or tape measure isn’t perfectly level when taking measurements.

Despite measuring using levels and checking distances, we still found some posts were not lined up perfectly with other posts.

To make measurements easier, stick a nail near the top and bottom of each post at the same vertical position.

Then, hook the end of your tape measure to the nail head and pull to measure the distance to the corresponding nail on other posts.

Another, albeit extreme, way to ensure all posts are plumb and positioned perfectly is to use scrap 2x4s to temporarily secure all sides at the top and bottom. If you don’t have any 2x4s, you can use 2x3s. They are cheap at the Home Depot. If your 2x4s are not long enough, you can join / splice them together using metal plates or scrap plywood.

Again, you can temporarily secure the 2x4s to the posts with either screws or clamps. By securing these 2x4s around the top and bottom of the posts, and ensuring they are level, there’s no way the posts could end up being offset from each other or not plumb.