<commit_before>$(document).ready(function(){
	particle_element = document.createElement('div');
	$(particle_element).addClass('snowflake');

	$('body').particles({
		'parent': 'div#header',
		'base_elements': [particle_element],
		'update_particle':
		{
			'top': 4,
			'left': function(ps)
			{
				return parseInt((Math.random()*5)+1);
			}
		},
		'init_particle':
		{
			'top': function()
			{
				return Math.random()*($(this).parent().height());
			},
			'left': function()
			{
				return Math.random()*($(this).parent().width());
			},
			'background': function()
			{
				return function() { return 'url(./images/snowflake_0' + String(parseInt(Math.random()*2)+1) + '.png)'; }
			}
		},
		'count': 20,
		'incrementor': $.particles.generic_incrementors.bound_by_parent
	});
});
<commit_msg>Added a pretty little fade effect to the snowflakes.<commit_after>$(document).ready(function(){
	particle_element = document.createElement('div');
	$(particle_element).addClass('snowflake').hide();

	$('body').particles({
		'parent': 'div#header',
		'base_elements': [particle_element],
		'update_particle':
		{
			'top': 4,
			'left': function(ps)
			{
				return parseInt((Math.random()*5)+1);
			}
		},
		'init_particle':
		{
			'top': function()
			{
				$(this).fadeIn(10000);

				return Math.random()*($(this).parent().height());
			},
			'left': function()
			{
				return Math.random()*($(this).parent().width());
			},
			'background': function()
			{
				return function() { return 'url(./images/snowflake_0' + String(parseInt(Math.random()*2)+1) + '.png)'; }
			}
		},
		'count': 20,
		'incrementor': $.particles.generic_incrementors.bound_by_parent
	});
});

{'fraction_non_alphanumeric': 0.22122302158273383, 'fraction_numerical': 0.012589928057553957, 'mean_word_length': 4.088414634146342, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '66588', 'n_tokens_mistral': 706, 'n_tokens_neox': 586, 'n_words': 83}