Skip to content

Commit

Permalink
Converted the Halftone Tutorial to markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
pictographer committed Jan 10, 2024
1 parent e54ece5 commit d198057
Show file tree
Hide file tree
Showing 20 changed files with 142 additions and 0 deletions.
Binary file added assets/images/android-chrome-192x192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/android-chrome-512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/favicon-16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/favicon-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions assets/images/site.webmanifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"name":"The Pictographer’s Shop",
"short_name":"Pictographer",
"description":"Professional website of John D. Corbett"
"icons":
[{"src":
"assets/android-chrome-192x192.png",
"sizes":"192x192",
"type":"image/png"},
{"src":
"assets/android-chrome-512x512.png",
"sizes":"512x512",
"type":"image/png"}],
"theme_color":"#ffffff",
"background_color":"#ffffff",
"display":"standalone",
"categories":"business"
}
52 changes: 52 additions & 0 deletions assets/styles/top.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
* { font-family: Arial, Tahoma, Helvetica; }

body { margin: 1em }

.top {
display: flex;
align-items: center;
justify-content: start;
}

img {
max-width: 100%;
}

.image {
width: 4em;
height: 4em;
/* border-color: green; border-style: solid; border-width: 1px;*/
}

.thumb {
width: 8em;
height: 8em;
margin-top: 0.5em;
margin-bottom: 0.5em;
}

.text {
padding-left: 1em;
/*border-color: green; border-style: solid; border-width: 1px;*/
}

.content {
display: grid;
grid-template-columns: 5em minmax(20ch, 80ch);
}

p, ol, ul, li {
grid-column: 2/2;
margin-top: 0;
}

p {
margin-bottom: 1em;
}

ol, ul {
margin-bottom: 0em;
}

/* ul { border-color: green; border-style: solid; border-width: 1px; padding-bottom: 10em; } */
/* li { border-color: purple; border-style: solid; border-width: 1px; padding-bottom: 10em;} */
28 changes: 28 additions & 0 deletions assets/styles/top.css~
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
* { font-family: Arial, Tahoma, Helvetica; }

body { margin: 1em }

.top {
display: flex;
align-items: center;
justify-content: start;
}

img {
max-width: 100%;
}

.image {
width: 4em;
height: 4em;
/* border-color: green; border-style: solid; border-width: 1px;*/
}

.text {
padding-left: 1em;
/*border-color: green; border-style: solid; border-width: 1px;*/
}

.content {
padding-left: 5em;
}
44 changes: 44 additions & 0 deletions halftone.markdown
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
---
layout: page
title: Halftone Tutorial
permalink: /halftone/
---

# Halftone Tutorial

Color printing frequently uses fewer colors of ink than there are
colors in the source image. Halftones are often used to fool the eye
into seeing a broader range of colors. Similar to shading in drawing,
halftones create the appearance of varying tones by varying the size
of dots or lines of ink.

For most of us, this is a historical curiousity or an obscure
technical detail, but Pop Artist Roy Lichtenstein celebrated the lowly
halftone by making the dots large. With the advent of PhotoShop, it
became possible for someone without specialized equipment to
experiment with halftones and various other special effects in persuit
of cool images and techniques.

My company logo was one result of my experimentation with image
filters. I've recreated my logo using Gimp so anyone can play along
without expensive software.

The logo is generated algorithmically without drawing a thing.
1. | Fill a square canvas with light gray |
![Solid gray field](assets/gray-square.png){: width='100'} |

1. | Convert the light gray to dots using the "Newsprint" filter |
[![Polkadots at a 45° angle](assets/polkadots.png){: width='100'}](assets/polkadots.png) |

1. | Use the "Spherize" filter to create the Op Art illusion of depth |
[![Dots distorted into a sphere](assets/raw-spherize.png){: width='100'}](assets/raw-spherize.png) |

1. | Use a circular selection inverted to remove the background from the sphere |
[![Dot sphere isolated from the background dots](assets/black-dot-sphere.png){: width='100'}](assets/black-dot-sphere.png) |

1. | Adjust the color, size, and format of the image for its intended use |
[![Op art sphere](assets/green-dot-sphere.png){: width='100'}](assets/green-dot-sphere.png) |

There is plenty of fun to be had starting from solid colors, gradients, or noise and applying various distortion filters.

[![Sphere of stripes](assets/stripe-sphere.png){: width='100'}](assets/stripe-sphere.png) [![Whirl applied to a grid](assets/whirl-and-pinch.png){: width='100'}](assets/whirl-and-pinch.png) [![Diagonal linear gradient](assets/diagonal-gradient.png){: width='100'}](assets/diagonal-gradient.png) [![Convex stripes from halftoning a linear gradient](assets/convex-stripes.png){: width='100'}](assets/convex-stripes.png) [![Wavy stripes](assets/convex-stripes-waves.png){: width='100'}](assets/convex-stripes-waves.png) [![Wavy stripes](assets/fractal-trace.png){: width='100'}](assets/fractal-trace.png)
Binary file added halftone/assets/black-dot-sphere.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added halftone/assets/convex-stripes-waves.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added halftone/assets/convex-stripes.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added halftone/assets/diagonal-gradient.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added halftone/assets/fractal-trace.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added halftone/assets/gray-square.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added halftone/assets/green-dot-sphere.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added halftone/assets/polkadots.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added halftone/assets/raw-spherize.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added halftone/assets/stripe-sphere.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added halftone/assets/whirl-and-pinch.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d198057

Please sign in to comment.