Tuesday + Thursday
I looked at more at my data play task, I had some trial and error with my rain on the bottom of the screen, as well as the rain that I had playing in the background that I’m planning on using as my animated image.
I decided to add a bar at the bottom of the screen to display the current precipitation that grows as there is an increase in rain, I really liked the effect this created. I also had to fiddle around with the text size of the html that appears saying how many mm rain there is (which is placed on the rain bar), because I wanted it to be readable even if there was only 1mm of rain, for user readability. I really like how this feature works right now, as when the amount of rainfall is increased it feels like the water is ‘rising’ on the webpage.
I also added an arrow, that doesn’t work too well right now, I’m planning on making it so that it rotates based on wind direction based on degrees. Currently, it stretches and resizes itself when the webpage is resized, this is unintentional and I’m trying to fix it to make it not resize or stretch.
Wednesday
on wednesday, I looked at at a JavaScript temperature converter with Hannah, we also looked at string methods such as
- .includes() // which is a Boolean to see if a string includes the string in the brackets
- .indexOf() // returns an index
- .length (I already knew this one)
- string interpolation and using ` in template literals and learning about ${} can be used to put an expression inside of a string, I thought it was interesting how backticks can be used to
- interable strings (I already knew about this)
- substrings and the .includes method
- .string.slice(,)
- .concat (concatinates strings)
- math.floor, math.ceil and math.round, all of which seem incredibly useful and I will definitely plan to use these in the future
- math.max and math.min are also useful methods for finding max and min values in an array. I’m not sure where I can use it just yet, maybe to remove extreme outliers in a data set?
My temperature converter worked great, the only issue is that I misspelt a variable, in the issue I will make sure to double check my variable and function names.
Later in the day, we looked at some ways data could be presented in more visual ways, I really liked this because sometimes reading a wall of text to figure out data can be quite tiring, and having an artistic representation for data can be good to use, especially when comparing different data.
Data play task – part one
throughout the week I was working on my data play task (part 1), I found the terminology difficult but once I got a rough draft down it became a lot easier to manage. I really enjoyed adding my own personal knowledge to the task (such as the Pokémon ai art scandal), as it felt like a niche fact that I knew of (that I discovered quite a while ago), and I was happy that I could relate it to the task at hand.
I felt like this task really helped my interpretation skills, as I was a bit confused at first, but now I feel like I’m well on the way to understanding how to work with less straight-forward scholarly articles.