Josh On Design

  • Blog
  • About Josh
  • Books & Writing
  • Apps & Projects
  • Hire Me
past future

    How Bezier Curves Work

    July 11th, 2018

    Today we are going to take a break from creative procedural generation and talk about a very useful graphics primitive, the Bézier curve, and learn how to render it from scratch.

    Read more...

    Tagged: javascript graphics procgen

    ProcGen: Playing with Color

    June 11th, 2018

    Welcome back to my series on procedural content generation. Today we are going to learn how to play with color. Generating textures is great, but it's so much better when we can generate new color schemes to go with our textures. First, however, we need to do a little clean up.

    Read more...

    Tagged: procgen graphics node

    ProcGen: Gradients and Lerps

    June 7th, 2018

    We've built a lot of stuff so far. In part one we built some tools and noise. In part two we created patterns with sine waves, then mixed them with noise. However, so far our images are essentially black and white, or occasionally hard coded to a particular color like red. Today we're going to lerp through some colors. Don't worry, I'll explain that this means in a minute.

    Read more...

    Tagged: procgen node graphics

    ProcGen: Sine Waves

    June 6th, 2018

    Now that we've got a little toolkit from part 1, let's draw a simple sin wave. As you may recall from your trigonometry, the sin function goes from -1 to 1. It also loops forever. That's going to be very handy.

    Read more...

    Tagged: graphics procgen node

    Procedural Generation Challenge

    June 6th, 2018

    Thanks to a project I'm doing at work I started reading a book on procedural content generation. ProcGen (as apparently the cool kids call it) is all about creating interesting systems with randomness, which inevitably brings up texture generation, which brings up Perlin Noise, one of the most useful sources of randomness.

    Read more...

    Tagged: graphics procgen node

past future
Like this? Hire Me!