/
04.07.2021 at 09:08 am
Cuttings

Learning D3 with P5/Processing

I know D3, and wonder if I should learn P5/Processing too.

... D3 has its own peculiar logic, with selections, transitions and the like. Learning D3 is more than learning javascript or another javascript library, it's also adopting a certain way of considering visualization, events, flow, relationship between data and visual objects etc. and I am very fond of that process.

Processing, by contrast, has a very different approach to things, and that Processing approach, in itself, is worth learning it. Processing programs are typically built around a main loop, and at each iteration the whole scene is redrawn. Being familiar with that logic actually enables you to take your D3 further. Some of my D3 vis are built like Processing sketches.

Another interesting aspect of Processing is its immediacy. You are manipulating physical objects, so it's much more direct to make stuff. Compared to Processing there is a lot of overhead in D3. So, it's much easier to sketch in Processing.

It's also easier to work with images using Processing, either read them or write them. Also, independent agents are easier to implement. There are tons of functions that can be used for generative art which are there out of the box in Processing and which would be a pain to get to work in D3. Also: 3D. Easy in Processing, a pain in D3 (despite the name).

D3 goes beyond being just a library. I intend to make it my main data visualization tool, and I've been working on my knowledge of it.

But I'm thinking of learning Processing/P5 as well. (And I'm leaning towards P5, as I'm reluctant to dive into Java for now.)

Source: Jérôme Cukier
Filed under:
#
Words: 64 words approx.
Time to read: 0.26 mins (at 250 wpm)
Keywords:
, , , , , , , , ,

Other suggested posts

  1. 15.12.2024 at 09:46 am / Artful Rule-Bending
  2. 29.03.2023 at 10:57 am / Moving Away from Todoist - to Taskwarrior, SSH & Dropbox - Part 2
  3. 10.06.2022 at 07:44 pm / Teach Thy Tongue to Say: 'I Do Not Know'
  4. 30.04.2022 at 10:36 am / Masters of A Fraction of A Dot
  5. 10.07.2021 at 01:46 pm / Plants Are Maths
  6. 03.01.2020 at 10:46 am / Git for Legal Practice
  7. 23.08.2018 at 09:53 am / Nostalgic Non-Memories
  8. 26.12.2013 at 12:00 am / Teal Stares
  9. 29.11.2013 at 12:00 am / ガラケー Garakei Evolution
  10. 16.08.2010 at 12:00 am / Lost Nuances in 'Ivan the Terrible'
© Wan Zafran. See disclaimer.