Skip to content

Processing sketch to draw a heightmap in lines + controls to interact with the variables

License

Notifications You must be signed in to change notification settings

sorny/heightmap_lines

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

heightmap_lines

Version 0.1

heightmap example -> heightmap_lines example

heightmap_lines is a processing sketch to draw a heightmap in lines + adds controls to interact with the sketch.

Tech

heightmap_lines uses open source libs and open data to work properly:

Installation

Simply run this sketch in your favorite processing IDE :)

Controls / Hotkeys

W/A/S/D

Move the sketch around

Y/X

Rotate the sketch on the X-axis

Q

Enable auto-rotation on the Z-axis

E

Rotate the sketch 90-degree clock-wise

T

Reset the rotated sketch

I/K

Increase/decrease the scale/resolution of the heightmap

J/L

Increase/decrease the space between the lines

B/N

Incease/decrease the stroke boldness of the lines

M

Toggle drawing the heightmap mesh

F

Toggle between lines and curves mode. Curve tightness is interactively based on the mouse cursor X-axis position.

1

Record the current sketch as .svg

2

Record the current sketch as .dxf

3

Record the current sketch as .tif

4

Recordig the current sketch as .png

Cursor Keys UP/DOWN/LEFT/RIGHT

Shift the peaks and lines around for fine-adjust of the generated lines

Have fun!

License

MIT

Free Software, Hell Yeah!