Skip to content

Commit

Permalink
First pages commit, with all the files from branch
Browse files Browse the repository at this point in the history
  • Loading branch information
hanoii committed Jan 11, 2013
0 parents commit ecadfbd
Show file tree
Hide file tree
Showing 319 changed files with 124 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
@@ -0,0 +1,2 @@

.DS_Store
Binary file added 45degreee_fabric.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 60degree_gray.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 22 additions & 0 deletions README.md
@@ -0,0 +1,22 @@
SubtlePatterns
===============

All the patterns from www.subtlepatterns.com - including the famous Photoshop .pat file

If you need Base64 versions of the patterns you can use this generator:
http://www.greywyvern.com/code/php/binary2base64


Subtle Patterns is created and curated by Atle Mo.
The original author of the patterns are credited on subtlepatterns.com

Subtle Patterns by Subtle Patterns is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Based on work at subtlepatterns.com.
Permissions beyond the scope of this license may be available upon contact.
A project by Atle Mo.

Subtle Patterns and www.subtlepatterns.com © 2012 Atle Mo.

===============

ENJOY!
Binary file added SubtlePatterns.pat.zip
Binary file not shown.
Binary file added absurdidad.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added always_grey.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added arab_tile.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added arches.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added argyle.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added asfalt.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assault.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added az_subtle.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added back_pattern.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added batthern.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added bedge_grunge.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added beige_paper.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added bgnoise_lg.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added billie_holiday.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added black-Linen.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added black_denim.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added black_linen_v2.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added black_mamba.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added black_paper.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added black_scales.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added black_thread.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added black_twill.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added blackmamba.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added blackorchid.png
Binary file added blizzard.png
Binary file added blu_stripes.png
Binary file added bo_play_pattern.png
Binary file added bright_squares.png
Binary file added brillant.png
Binary file added broken_noise.png
Binary file added brushed_alu.png
Binary file added brushed_alu_dark.png
Binary file added burried.png
Binary file added candyhole.png
Binary file added carbon_fibre.png
Binary file added carbon_fibre_big.png
Binary file added carbon_fibre_v2.png
Binary file added cardboard.png
Binary file added cardboard_1.png
Binary file added cardboard_flat.png
Binary file added cartographer.png
Binary file added checkered_pattern.png
Binary file added chruch.png
Binary file added circles.png
Binary file added classy_fabric.png
Binary file added clean_textile.png
Binary file added climpek.png
Binary file added concrete_wall.png
Binary file added concrete_wall_2.png
Binary file added concrete_wall_3.png
Binary file added connect.png
Binary file added cork_1.png
Binary file added corrugation.png
Binary file added cracks_1.png
Binary file added cream_dust.png
Binary file added creampaper.png
Binary file added crisp_paper_ruffles.png
Binary file added crissXcross.png
Binary file added cross_scratches.png
Binary file added crossed_stripes.png
Binary file added crosses.png
Binary file added cubes.png
Binary file added cutcube.png
Binary file added daimond_eyes.png
Binary file added dark_Tire.png
Binary file added dark_brick_wall.png
Binary file added dark_circles.png
Binary file added dark_dotted.png
Binary file added dark_geometric.png
Binary file added dark_leather.png
Binary file added dark_matter.png
Binary file added dark_mosaic.png
Binary file added dark_stripes.png
Binary file added dark_wall.png
Binary file added dark_wood.png
Binary file added darkdenim3.png
Binary file added darth_stripe.png
Binary file added debut_dark.png
Binary file added debut_light.png
64 changes: 64 additions & 0 deletions demo.html
@@ -0,0 +1,64 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Subtle Pattern Demo</title>
<style>
body , html { padding:0;margin:0;height:100%; }
body { background:#ccc none repeat 0 0; }
form { padding:10px;text-align:center;background:#FFF;border-bottom:1px solid #000; }
</style>
</head>
<body>
<form>
<select id="image">
<option selected>Downloading Pattern Names...</option>
</select>
</form>

<script src="http://code.jquery.com/jquery.min.js"></script>
<script>
$(document).ready(function(){

var pattern_selector = $('#image')
body_tag = $('body');

// make an ajax request to find all the file names
$.getJSON('https://api.github.com/repos/subtlepatterns/SubtlePatterns/contents?callback=?', function(files) {
// http://baylorrae.com/prevent-dom-reflow/
var items = document.createDocumentFragment(),
item, file;

// loop through all files in the repo
for( var i = 0, len = files.data.length; i < len; i++ ) {
file = files.data[i];

// skip over non image files
if( /\.(png|jpg|jpeg)$/.test(file["path"]) == false ) {
continue;
}

// create the option tag and use the raw image url
item = $('<option />', {
value: file["_links"]["html"].replace('blob', 'raw'),
text: file["path"]
})[0];

items.appendChild(item);
}

// update the dropdown menu
pattern_selector.find('option').remove();
pattern_selector.append(items);
pattern_selector.change();
});

// bind an event to change the body background image
pattern_selector.change(function() {
body_tag.css('background-image', 'url(' + this.value + ')');
});

});
</script>
</body>
</html>
36 changes: 36 additions & 0 deletions demo.php
@@ -0,0 +1,36 @@
<?php

$files = glob('*.{png,jpg,jpeg}', GLOB_BRACE);

?><!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Subtle Pattern Demo</title>
<style>
body , html { padding:0;margin:0;height:100%; }
body { background:#ccc none repeat 0 0; }
form { padding:10px;text-align:center;background:#FFF;border-bottom:1px solid #000; }
</style>
</head>
<body>
<form>
<select id="image">
<option><?php echo implode( "</option>\n <option>" , $files ); ?></option>
</select>
</form>

<script src="http://code.jquery.com/jquery.min.js"></script>
<script>
$(document).ready(function(){

$('#image')
.bind('keyup change unfocus blur',function(){
$('body').css( 'background-image' , 'url('+$(this).val()+')' );
})
.blur();

});
</script>
</body>
</html>
Binary file added denim.png
Binary file added diagmonds.png
Binary file added diagonal-noise.png
Binary file added diagonal_striped_brick.png
Binary file added diagonal_waves.png
Binary file added diagonales_decalees.png
Binary file added diamond_upholstery.png
Binary file added diamonds.png
Binary file added dirty_old_shirt.png
Binary file added double_lined.png
Binary file added dust.png
Binary file added dvsup.png
Binary file added ecailles.png
Binary file added egg_shell.png
Binary file added elastoplast.png
Binary file added elegant_grid.png
Binary file added embossed_paper.png
Binary file added escheresque.png
Binary file added exclusive_paper.png
Binary file added extra_clean_paper.png
Binary file added fabric_1.png
Binary file added fabric_plaid.png
Binary file added fake_brick.png
Binary file added fake_luxury.png
Binary file added fancy_deboss.png
Binary file added farmer.png
Binary file added felt.png
Binary file added first_aid_kit.png
Binary file added flowers.png
Binary file added flowertrail.png
Binary file added foggy_birds.png
Binary file added foil.png
Binary file added frenchstucco.png
Binary file added furley_bg.png
Binary file added gold_scale.png
Binary file added gplaypattern.png
Binary file added gradient_squares.png
Binary file added graphy.png
Binary file added gray_jean.png
Binary file added gray_sand.png
Binary file added green-fibers.png
Binary file added green_dust_scratch.png
Binary file added green_gobbler.png
Binary file added grey.png
Binary file added grey_sandbag.png
Binary file added greyfloral.png
Binary file added grid.png
Binary file added grid_noise.png
Binary file added gridme.png
Binary file added grilled.png
Binary file added groovepaper.png
Binary file added grunge_wall.png
Binary file added gun_metal.png
Binary file added handmadepaper.png
Binary file added hexabump.png
Binary file added hexellence.png
Binary file added hixs_pattern_evolution.png
Binary file added honey_im_subtle.png
Binary file added husk.png
Binary file added ice_age.png
Binary file added inflicted.png
Binary file added irongrip.png
Binary file added knitted-netting.png
Binary file added kuji.png
Binary file added large_leather.png
Binary file added leather_1.png
Binary file added lghtmesh.png
Binary file added light_alu.png
Binary file added light_checkered_tiles.png
Binary file added light_grey_floral_motif.png
Binary file added light_honeycomb.png
Binary file added light_noise_diagonal.png
Binary file added light_toast.png
Binary file added light_wool.png
Binary file added lightpaperfibers.png
Binary file added lil_fiber.png
Binary file added lined_paper.png
Binary file added linedpaper.png
Binary file added linen.png
Binary file added little_pluses.png
Binary file added little_triangles.png
Binary file added littleknobs.png
Binary file added low_contrast_linen.png
Binary file added lyonnette.png
Binary file added merely_cubed.png
Binary file added micro_carbon.png
Binary file added mirrored_squares.png
Binary file added nami.png
Binary file added nasty_fabric.png
Binary file added natural_paper.png
Binary file added navy_blue.png
Binary file added nistri.png
Binary file added noise_lines.png
Binary file added noise_pattern_with_crosslines.png
Binary file added noisy.png
Binary file added noisy_grid.png
Binary file added noisy_net.png
Binary file added norwegian_rose.png
Binary file added office.png
Binary file added old_mathematics.png
Binary file added old_wall.png
Binary file added otis_redding.png
Binary file added outlets.png
Binary file added padded.png
Binary file added paper.png
Binary file added paper_1.png
Binary file added paper_2.png
Binary file added paper_3.png
Binary file added paven.png
Binary file added perforated_white_leather.png
Binary file added pineapplecut.png
Binary file added pinstripe.png
Binary file added pinstriped_suit.png
Binary file added plaid.png
Binary file added polaroid.png
Binary file added polonez_car.png
Binary file added polyester_lite.png
Binary file added pool_table.png
Binary file added project_papper.png
Binary file added psychedelic_pattern.png
Binary file added purty_wood.png
Binary file added pw_maze_black.png
Binary file added pw_maze_white.png
Binary file added px_by_Gre3g.png
Binary file added pyramid.png
Binary file added quilt.png
Binary file added random_grey_variations.png
Binary file added ravenna.png
Binary file added real_cf.png
Binary file added rebel.png
Binary file added redox_01.png
Binary file added redox_02.png
Binary file added reticular_tissue.png
Binary file added retina_wood.png
Binary file added retro_intro.png
Binary file added ricepaper.png
Binary file added ricepaper2.png
Binary file added rip_jobs.png
Binary file added robots.png
Binary file added rockywall.png
Binary file added rough_diagonal.png
Binary file added roughcloth.png
Binary file added rubber_grip.png
Binary file added satinweave.png
Binary file added scribble_light.png
Binary file added shattered.png
Binary file added shinecaro.png
Binary file added shinedotted.png
Binary file added shl.png
Binary file added silver_scales.png
Binary file added skelatal_weave.png
Binary file added skewed_print.png
Binary file added skin_side_up.png
Binary file added small-crackle-bright.png
Binary file added small_tiles.png
Binary file added smooth_wall.png
Binary file added snow.png
Binary file added soft_circle_scales.png
Binary file added soft_kill.png
Binary file added soft_pad.png
Binary file added soft_wallpaper.png
Binary file added solid.png
Binary file added square_bg.png
Binary file added squares.png
Binary file added stacked_circles.png
Binary file added starring.png
Binary file added stitched_wool.png
Binary file added strange_bullseyes.png
Binary file added straws.png
Binary file added stressed_linen.png
Binary file added striped_lens.png
Binary file added struckaxiom.png
Binary file added stucco.png
Binary file added subtle_carbon.png
Binary file added subtle_dots.png
Binary file added subtle_freckles.png
Binary file added subtle_grunge.png
Binary file added subtle_orange_emboss.png
Binary file added subtle_stripes.png
Binary file added subtle_surface.png
Binary file added subtle_zebra_3d.png
Binary file added subtlenet2.png
Binary file added swirl.png
Binary file added tactile_noise.png
Binary file added tapestry_pattern.png
Binary file added tasky_pattern.png
Binary file added tex2res1.png
Binary file added tex2res2.png
Binary file added tex2res3.png
Binary file added tex2res4.png
Binary file added tex2res5.png
Binary file added textured_stripes.png
Binary file added texturetastic_gray.png
Binary file added tileable_wood_texture.png
Binary file added tiny_grid.png
Binary file added triangles.png
Binary file added triangles_pattern.png
Binary file added twinkle_twinkle.png
Binary file added txture.png
Binary file added type.png
Binary file added use_your_illusion.png
Binary file added vaio_hard_edge.png
Binary file added vertical_cloth.png
Binary file added vichy.png
Binary file added vintage_speckles.png
Binary file added wall4.png
Binary file added washi.png
Binary file added wavecut.png
Binary file added weave.png
Binary file added white_bed_sheet.png
Binary file added white_brick_wall.png
Binary file added white_carbon.png
Binary file added white_carbonfiber.png
Binary file added white_leather.png

0 comments on commit ecadfbd

Please sign in to comment.