Isometric Pictograms

john's Avatar

john

14 Mar, 2015 10:02 AM

I did this quickly just for fun to show a basic technique.

The idea is that you can use NodeBox to slice up a single SVG file of isometric objects and use those objects to build a pictogram.

The attached zip file contains:
   - my ndbx file
   - the free svg of six trucks I found on the web (http://4vector.com/free-vector/isometric-vehicles-clip-art-120589)
   - a csv file containing a list of truck types and a count for each type

In order to slice up the source svg file I had to build an "isometric capture matrix" using grid, rect, rotate, and skew nodes. A combine node allowed me to view both source svg and capture matrix at the same time so that I could adjust the matrix to enclose each object.

Once this was done a delete node captures each object in the svg file. I import the csv file and use a filter node to build a list of the counts for each object. I then feed the source, capture matrix, index, and counts into a "pictogram" subnetwork which outputs a stacked horizontal row for each object type. (If you want a vertical chart, change the stack node inside the subnetwork from "east" to "north" and adjust the grids).

One final complication is that the center of each sliced object will vary a bit which throws off the alignment. I correct for this with a list of offsets which I adjusted by hand.

The final result can be seen in the attached pdf.

This is a fairly crude example, but I hope it conveys the basic technique. With a little fiddling anyone could modify this NodeBox doc to produce all sorts of isometric pictograms or other infographics.

Enjoy!

John

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Already uploaded files

  • isometric-pictograms.zip 21.5 KB
  • Truck-Pictographs.pdf 81.5 KB

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

01 Jul, 2022 02:31 AM
30 Jun, 2022 09:46 PM
30 Jun, 2022 07:01 PM
16 Jun, 2022 05:30 AM
06 Jun, 2022 01:07 PM

 

02 Jun, 2022 11:58 PM
30 May, 2022 03:37 PM
30 May, 2022 07:48 AM
24 May, 2022 06:27 PM
20 May, 2022 04:12 PM
05 May, 2022 02:25 AM