GMU:Speculative Atmospheres II/Friedrich Wilhelm Albrecht Pittelkow: Difference between revisions

From Medien Wiki
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Generative images influenced by tempererature ==
== Generative images influenced by tempererature ==
[[File:1234.gif|400px]]
[[File:Scrn_2.jpg]]


=== Idea ===
=== Idea ===
A genarative image or a series of images is drawn and influenced by the data of a temperature sensor.
A genarative image is drawn and influenced by the data of a temperature sensor. The data is used as an offset when generating the images.
The goal is to explore the visualisation data and patterns inside the data in a new way. It's not a scientific visualisation - like a bar graph - more it should be a tool to help understanding the general concept of a data set while being visually appealing.


=== Technical soloutions ===
Maybe it is possible for the viewer to connect own ideas, concepts while viewing the visualisation and find a own interpretation and connection to the environment.
An arduino with an temperature sensor records the data to a storage medium. (In this case a micro-sd crad shield). This data will be put into a Processing-Script to generate images.


The data has to be recorded in intervals. The timeframe for these recordings have to be explored.
=== Examples / Current state ===
<gallery>
File:DATA.TXT_1_b.jpg
File:DATA.TXT_1.jpg
File:Data1_1.jpg
File:Data2_1.jpg
</gallery>
 
Each drawn point correlates to a point in the data-set. The eqaution used to generate images would describe a circle. The data pushes the points off the point away from this path in relation to their values.
 
=== The Toolkit ===
The toolkit provides everything to collect data in the field. In the weather sealed case the Arduino-board with an attached sensor as well as a battery to provide power and a SD card for storrage.
The case protects the arduino and circuit from the environment.  


=== Examples / Current state ===
<gallery>
File:fp01.jpeg
File:fp02.jpeg
</gallery>


[[File:comp.jpg|400px]]
=== Processing ===
In Processing the data-file from the Tool-Kit gets spilt up line by line and stored in an array. Since we can easily analyze an array in processing we can find the lowes and highest point in the data to create a adequate range range to apply it.
Also we find the total ammount of points to determine when to stop plotting them and exporting the image.


The image shows two ways for visualizing the changes over time. Each image was taken after 1000 frames.
<nowiki>  dataArray = float(loadStrings(dataFile));
In the first row the canvas is reset each time, the second row shows an accumulation of data over time.
  tMax = dataArray.length;
  nMin = min(dataArray);
  nMax = max(dataArray);
</nowiki>


=== Next Steps / Milestones / Points for research and thinking ===
To draw the image a simple equation is used:
- What does temperature look like?
<nowiki>float x1(float t, float offset) {
- Do I need to know the temperature in a common scale?
  return cos(t / calcConst) * 200 + cos(t / calcConst) - offset * 2;
- Sould I also present it with a common scale? (Give a reference.)
}
- What is a good timeframe for recording the data? (10 minutes, 30 minutes, 1 hour)
float y1(float t, float offset) {
  return sin(t / calcConst) * 200 + cos(t / calcConst) - offset * 2;
}</nowiki>


[[/Graphics with Processing/]]
Inside the functions you will find the offset - which gets set by the data - and a calcConstant. By modifing this new varieties of patterns can be genarated.

Latest revision as of 00:43, 9 February 2022

Generative images influenced by tempererature

Scrn 2.jpg

Idea

A genarative image is drawn and influenced by the data of a temperature sensor. The data is used as an offset when generating the images. The goal is to explore the visualisation data and patterns inside the data in a new way. It's not a scientific visualisation - like a bar graph - more it should be a tool to help understanding the general concept of a data set while being visually appealing.

Maybe it is possible for the viewer to connect own ideas, concepts while viewing the visualisation and find a own interpretation and connection to the environment.

Examples / Current state

Each drawn point correlates to a point in the data-set. The eqaution used to generate images would describe a circle. The data pushes the points off the point away from this path in relation to their values.

The Toolkit

The toolkit provides everything to collect data in the field. In the weather sealed case the Arduino-board with an attached sensor as well as a battery to provide power and a SD card for storrage. The case protects the arduino and circuit from the environment.

Processing

In Processing the data-file from the Tool-Kit gets spilt up line by line and stored in an array. Since we can easily analyze an array in processing we can find the lowes and highest point in the data to create a adequate range range to apply it. Also we find the total ammount of points to determine when to stop plotting them and exporting the image.

  dataArray = float(loadStrings(dataFile));
  tMax = dataArray.length; 
  nMin = min(dataArray);
  nMax = max(dataArray);

To draw the image a simple equation is used:

float x1(float t, float offset) {
  return cos(t / calcConst) * 200 + cos(t / calcConst) - offset * 2;
}
float y1(float t, float offset) {
  return sin(t / calcConst) * 200 + cos(t / calcConst) - offset * 2;
}

Inside the functions you will find the offset - which gets set by the data - and a calcConstant. By modifing this new varieties of patterns can be genarated.