Interactive fretboard 🎸

Other, Website

I have a great passion for playing guitar. Lately I am trying to understand the guitar better and especially how the chords and scales are created and how they relate to the positions on the guitar. So I’ve build a online visualization that helped me on that. It started mostly as tool for myself, but I noticed this might be useful for others too. I still have to learn a lot myself, I starting to get some parts from theory perspective, but I don’t have them all “in the fingers” yet.

I noticed while creating the website that the theory behind chords actually is relative simple actually, just some “intervals over intervals”, from a programmer perspective that was wasn’t the hardest part. Mapping the theory to real guitar playing is of course a lot harder. Then it helps when you can easily visualize everything during practice sessions. For example, I like to switch between note names and intervals (since lots of online tutorials talk about such steps) and switch easily to different keys.

The website is build with Haxe 4 + coconut.vdom (react/vue alternative for Haxe), which is a really great experience. Type-safe, reactive views, component based, pure Haxe.

Check it out on: https://interactive-fretboard.com

Read more

Easing equation test tool

JavaScript

I made a tool to write/test easing equation functions. It uses JavaScript syntax to evaluate the expression, which you can just type in. I found it helpful to test curves. I rolled out this one because I didn’t found a similar tool, most were Math or CSS related.

easing equation test tool

Check it out here: projects.stroep.nl/ease

Read more

Photoshop pixelart coloring tip

Art and design

I recently created a pixelart game scene for fun and tried a 
sophisticated way to allow testing different colors. I’d love to share how I did this.

the concept scene
the concept scene

How to apply gradient mapping

Black and white color palette

There we go, I started drawing the pixelart with this black and white palette. 

As you can see I only used just 5 colors. This is exactly how my complete image is drawn. Without any of the grading, it looks like this:

black and white pixelart scene

If you take a moment to break down the final image and look at the coloring, you’ll notice there are 4 color types available, which I’ve organized like this:

pixelart color layering breakdown
breakdown of the color layering

I organized all my elements in layer folders. Each layer folder gets its own gradient mapping, which is how the coloring is applied. The structure looks like this:

gradient mapping on pixelart scene
gradient mapping on just one layer

You can add a gradient map layer in Photoshop: Layer > New Adjustment Layer > Gradient Map

Move the new adjustment layer above the layer folder.
Use this adjustment layer as clipping mask for the layer folder. Select Layer > Create Clipping Mask

With the clipping mask it will only apply to the content of that folder. This is a super useful feature!

The fun thing is that it allows to change the mood of the image per layer easily. 

Different mood with different gradient map colors
Different mood with different gradient map colors
Different mood with different gradient map colors
Another mood with different gradient map colors

While I haven’t actually converted the assets to a game (and probably won’t ever), in theory you could apply a similar concept procedurally, to change from summer to winter, from day to night etc if you would work with just grayscale assets.

This concept of gradient mapping also works for non-pixelart and can be really cool if the art itself has gradients for example. I hope this inspires someone else for its game / art.

Read more

Evolutional generative art

Generative art

Evolutionary art is a branch of generative art where you use a iterative system of selection and  modification to arrive at a final generative artwork.

I did some evolutional generative art experiments using HTML5 (using Haxe/JavaScript). It draws a target image using “stamps” out of a different source image. Each drawing step gets compared using a fitness function to see if that stamp looks more to the target or not.

It can generate very interesting details. This one uses van Gogh’s Starry Night as input image:

This uses a sketchy looking tiger as input source. It works very well as pattern:

This also allows to create artwork that almost looks like it is actually painted. This one uses van Gogh’s Night over Rhone as input image:

I do want to keep playing with the brush, now I’ve used a circle brush which you can see. It would be nice to have something that blends a bit more.

» More in this album

Read more