New clean, coloured Diagonal Barn Door transition using HTML overlay

Hi guys, I just created a Barn Door transition using a HTML file, created in Notepad++, applied to a transparent clip and used to overlay on top of an existing cut between 2 clips.

(It’s similar to my recent JR diagonal wipe which @elusien kindly made into a SC filter).

Happy to share the HTML files and give more details if anyone’s interested!


Indeed, a very nice transition.
I know exactly were you got the inspiration :grin:.
And please, share your HTML file with us :grinning:.

Yes, well remembered! it was @paul2’s post and his clip of Mike Pompeo!!:

Thank you. I will sort out the files and post the zip.

1 Like

I got the idea of the diagonal wipe from @jonray just did it a different way.
Sincere apologies for using Pompeo but it was the first clip I found.
It was no coincidence that once he started talking, there was a system crash. :grinning:

One of the great things about this forum, sharing and developing ideas from others :smiley::smiley:

(Hey, I see the BBC have nicked my idea too … :wink: :smiley::smiley: - Here’s the TV footage after the USA scored their penalty (football world cup final). Recorded on my handicam direct from the TV):

ZIP files attached:Jonray BARN DOOR transition (HTML overlay) (223.7 KB)
(I’ve included the “whoosh” sound effects too…)

A few details of using it:
Here’s a screenshot of my timeline:

The coloured stripes show over the clips on V1.

(The design is cunning, in that, for one frame, the screen is completely covered in opaque colour, enabling the user to position two clips next to each other below it at that precise moment to achieve a perfect transition).

I’ve annotated the code so a user with no experience can easily change the angle of stripes and/or colour (of both the main and secondary stripes) and then save the HTML file accordingly. - see this screenshot:

1 Like

Nicked, never…
They have been commandeered by Her Majesty’s Broadcasting Service. :grinning:

Similar wipes were also used in the latest ICC world cup.
Start collecting your royalties, need an agent ? :grinning:

This is so easy to use! It really is a user-friendly coincidence(?) that there are frames covering the whole screen and therefore just aligning the transparent clip with the video clips is enough. Also the comments are certainly useful for people who just want to make minimal changes and do not care using HTML for other usages.
The other transition was way more complicated - although not anymore with the custom filter.

LOL, dammit I knew I should have copyrighted it …:laughing:

Thank you. Not a coincidence… rather lots of trial and error !!:wink: Glad you like it!

Then, thank you very much for your effort! Both transitions are definitely going to be in my repertoire :smile:.
What I noticed though is the blending of the stripes’ colours instead of just having two distinct colours. In the following example I used yellow and blue and the blue is rather a swampy green.

I tried setting the colour with RGBa to state the alpha channel. I also tried using background-blend-mode to set the value to normal so no blending. They did not work.
Do you know the corresponding setting?

Ah yes, I forgot to mention that. Go down to near the bottom of the file and there are two columns of “opacty:0.3;” - change the 0.3s to 1s. The blue strip was turning green because the yellow was showing through.

Another tip: this site:
gives you lots of colours with names that browsers recognise.

Glad you’re trying out these transitions!

I was not thorough enough :sweat:. I should have found this setting. I only saw the initial setting which was already 1.

I actually use hex codes and rarely write out colour names. I use most of the time the following site because it groups colours which makes searching easier:

Of course I do! If I like them, I want to test them and then add them to my asset library :smile:.

Useful site - bookmarked, thanks!

Hi @samth - I just tried adding a border to the stripes, for another optional effect. I added this to the css:

(#)diagonal_sliding_box_left01, #diagonal_sliding_box_right01 { 
 border-left: 6px solid navy;
border-right: 32px solid white;

#diagonal_sliding_box_left02, #diagonal_sliding_box_right02 { 
border-left: 20px solid darkgreen;
border-right: 32px solid white;

and got an interesting effect. (NB remove () brackets from above code - impossible to start a quote on this forum with a # sign apparently…

Amended full code:
Jonray 01 DIAGONAL (with added borders) Barn Door transition minus 30 per cent rotation BLUE .zip (1.5 KB)

Have a go if you have time. Perhaps change the colours? What do you think?

Oops forgot to say, add a # to “purple” in the amended file (last post) to make the background transparent.

Perhaps you might like this site as well:
I use it for example to create a colour scheme with complimentary colours.

I used it also for testing this transition to create one with a “pop” to it and another one which is subdued. And for the third transition I changed the borders to have uniform widths:

The first one is way too busy. The second one works but the different widths bother me; just too distracting for me. The last one is something I would use with different colours because it does not have the flaws the other two have.
Overall the idea is nice and some might like it more than the one without borders. However, I am rather using the one without borders.
What transition do you like more? With or without borders?

Hi @samth, the colours site is great and very useful - bookmarked.

I agree with everything you say about your transition colours - #1 - far too complex and busy. #2 - better but still distracts the eye. #3 is also best for me. Nice contrasting colours but not too glaring. I like the white borders. Maybe experiment with the width of the borders - really thin, say 2px? It may then look a litle less like stripy pyjamas :laughing::laughing::grimacing::grimacing:

Thanks for testing this. Shows how crucial it is to get the right colour balance.

Another couple of sites for very good colour swatch schemes are:


We have similar taste, I guess. I thought I keep the white borders to not have some sort of “mushy” appearance quasi a way to add some sort of distinctiveness. You liking them makes it worth the “effort”.
With the first iteration I did not notice that besides angle and colour there is another variable one can change. We are spoilt for choice :wink:.
Pyjama stripes :laughing:, I see why.

Indeed, but that has nothing to do with the transition itself. I congratulate you on creating this easy-to-use transiton.

@Elusien I knew of Coolors before and i think it is a nice concept if you have no idea and need inspiration. The other one seems interesting as well.

Hi @samth - (sorry for late reply, could not get online for a day for enough time to reply…)

Thanks for your further observations on colours. Fascination subject, colour choice for video effects. I guess there is a fine line between something which is classy and something which is less so (even tacky or garish…) :laughing:

I thought it would be interesting to analyse the BBC football Barn Door effect (see video in post #4 above) so I imported it into SC and made a screen capture of me advancing it frame by frame - very interesting how the pros did it!!

@Elusien, thanks for the links to colour schemes. Again, bookmarked.

1 Like