Quest for appropriate global balance and the contribution of AI
Eliciting Patterns of Global Consensus via Tensional Integrity (Part #3)
[Parts: First | Prev | Next | Last | All] [Gallery] [Links: To-K | Refs ]
Relative incompetence: It should be emphasized that the exploration of the possibilities of force-directed layout was undertaken with extremely modest knowledge of the relevant d3.js protocols and javascript. Whilst a number of web fora do indeed offer valuable assistance in this respect, an immediate response to the most trivial queries proved to be available from the ChatGPT facility. It was with that guidance, and the software "snippets" provided, that the parameters defining the layout were refined. This assistance is clearly relevant to any exploration that others might choose to make in the absence of timely professional expertise and budgets to match.
For the record, of possible value to some, and as an indication to others, the phases of that interaction could be presented separately as an annex to this document. However, given increasing familiarity with the strengths and limitations of the process this was finally considered to be unnecessary.
With respect to the balance between tension and compression as fundamental to a tensegrity, the interaction concluded that the balance might be primarily explored as a proportion between negative charges repelling the strut-linked nodes and the positive charges pulling together nodes otherwise linked (effectively by tension elements).
Question of proportion? ChatGPT repeatedly emphasized that appropriate balance could only be determined by iteration (namely trial and error) in the absence of clearer understanding of the relationship between the forces in play. However, by focusing on the adjustment of the "proportion" between the positive and negative forces in the layout, the iteration could concentrate on a single parameter rather than adjusting the positive and negative charges separately.
This conclusion resulted in a further development whereby adjustment of that proportion by users of the web page was enabled -- effectively "outsourcing" that challenge to users, This is reminiscent of the process of successfully outsourcing of folding proteins (John Timmer, Open-sourcing of protein-structure software is already paying off, Ars Technica, 13 November 2021; 4 crowdsourced projects that are unraveling the protein folding mystery, NanoTemper, 4 March 2021; Will Douglas Heaven, DeepMind’s protein-folding AI has solved a 50-year-old grand challenge of biology, 30 November 2020). Of some relevance is the distinction made between adjustment of the proportion in linear terms and one based on a power law -- for which a separate web page is provided.
Other parameters of course define a force-directed layout presentation. However for the purpose of this exercise these may be understood as primarily of value to the refinement of the presentation of the display, most obviously in aesthetic terms. Of particular relevance is the gravity parameter which primarily ensures the extent to which the display is centred within the display window rather than extending beyond its borders.
Since the coding of the HTML web page in which the d3.js application is embedded is readily accessible to users, there is every reason why some users should download the page, modify parameters of interest, and then upload it elsewhere to explore the resulting balance.
Framing the quest for balance: A first step towards enabling users to modify parameters is illustrated by the interactive animations below. That on the left assumes that the "proportion" can be explored in terms of a linear relation between a positive charge (pulling the nodes together) and a negative charge (repelling them from each other). That on the right uses a power law relation.
| Appropriate balance? Enabling web users to explore the proportional relation between positive and negative charges |
| Linear proportion (animation of screen shots) |
![]() |
| Interactive version |
The results are quite unsatisfactory -- and to that extent provisional. Due to relative incompetence in javascript and d3.js (and despite lengthy interaction with ChatGPT), a reasonable page presentation enabling user interaction proved elusive, especially given the probability that the page would be viewed through different browsers, on different platforms, and at different magnifications.
The difficulties are compounded by the questionable assumption that an appropriate proportion -- if found -- would force the display from 2D into the illusion of a spheroidal form characteristic of the icosidodecahedron tensegrity. This assumption derives from how the force-directed display operates, although there is a sense that this may itself offer a valuable metaphor regarding how any global configuration can be engendered and envisaged.
As presented (above left), the extreme variants which users can view by moving the slider are suggestive of extreme perceptions of global (in)coherence.
Alternative possibility with X3D? If force-directed layout is indeed currently inadequate as a means of engendering representations of spheroidal tensegrities on the web, a new alternative is to combine it with X3D techniques and the use of X3DOM. The latter is extensively used on this site for a wide range of animations in 3D (Eliciting Insight from Mandala-style Logos in 3D, 2020). There is increasing reference to the possibilities of combining d3.js with X3D (Jamie Lee Saunders, 3D Data Driven Charting Library with D3 and X3D, GitHub; Adrian Sureshkumar, How to Make 3D Charts for the Web Using D3 and X3DOM, 3 October 2019; D3 with X3DOM: a tutorial, DataMapLab, 19 March 2016).
Key to the relevance to tensegrity forms is how the sense of positive and negative "force" can be emulated with the use of X3D and usefully displayed by X3DOM. Rather than the static emphasis on "charting", the question is how the combination of techniques can "simulate" the dynamics of a tensegrity. It may prove to be the case that the data specifying the nodal connectivity can be readily used to enable both the self-organization of a spheroidal tensegrity and its visual recognition.
With respect to the possibility, ChatGPT offered the following comment:
To achieve interactivity and animation similar to the force layout in d3.js, you can leverage X3D's scripting capabilities using JavaScript or the X3D-specific scripting language (e.g., X3D's EventModel). With scripting, you can dynamically update the positions and orientations of the elements based on the forces or constraints applied to the structure.
It's important to note that while d3.js provides a built-in force layout algorithm, you would need to implement the corresponding calculations and behavior manually in X3D. This includes defining the forces, constraints, and interactions between the elements based on the principles of tensegrity.
Overall, combining d3.js and X3D can offer a powerful combination for creating interactive and dynamic visualizations of tensegrity structures, leveraging the strengths of both frameworks. However, it requires a thoughtful approach to adapt and translate the concepts and algorithms from one framework to another.
The software technical challenge is then to emulate the spring dynamics of the tension elements -- in contrast to the static characteristics of conventional design. Indicative of such possibilities is work on elastic interval geometry. As developed by the Pretenst project of Gerald de Jong and colleagues -- presented as Open Source Tensegrity -- this is a software model (minimal "physics engine") based on the tensegrity principle of continuous tension and floating compression. It extends the exploration into what can be designed and ultimately built in physical form when using only push and pull forces. A kit is offered to enable experimentation.
[Parts: First | Prev | Next | Last | All] [Gallery] [Links: To-K | Refs ]
Subjects: Appropriateness · Harmony
