Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Photoshop - Thursday.
- Vector graphics
- Super clean and crisp made out of geography.
- Made up of points and paths. All based on mathematical equations.
- Very easy to convert a vector graphic to a Raster.
- Raster images:
- Instead of point and lines as in vector, it is made up of pixels.
- Within these pixels there is color information and resolution is based on how
many pixels per inch (ppi) the image is.
- Information is lost when scaled up, resulting in pixelation.
- File Compression:
- When algorithms minimize your file size.
- Different file types use diff. Compression algorithms:
- 1. Lossy- some data is discarded and approximated to make smaller file
size. To the human eye the data being lost is not something noticeable.
- 2. Lossless- original data is reconstructed resulting in a more accurate
file, it tries to reconfigure the file but doesn't remove things out.
- There are 5 different file types-
- TIFF: Tagged Image File Format- fantastic for high color depth
images. Can handle very very large file sizes, saved lossless
without any info. discarded. Originally created for large size print
like huge billboards.
1
- GIF: Graphics Interchanged Format- only holds 256 colors, great
for flat simple graphics, smaller file size with lossless saving. Can
have transparency and supports animation.
- JPG: Joint Photographic Experts Group- can old millions of colors,
great for photographic images that will have smaller file size than
a tif. Lossy file saving but not a common problem as you need
repeated saving to view substantial changes.
- PNG: Portable Network Graphics- cousin of the Gif. but can hold
millions of colors. Preserves transparency and gradients (like
when removing backgrounds of images in png. Reason is all
images are squares and if you want a circle image you would
need transparency to do so. One of the newest file formats.
- RAW: Largest file sizes you can shoot in. Will allow you to change
all the settings of how the photo was taken when trying to edit it on
the computer. You can edit an original without compressing or
losing any info before saving. Purest file pre compression.
- File size is determined by 4 things:
- Bit depth, image dimensions (height and width), image resolution
(pixels crammed in the height and width), file type.
- 8 Bits = 1 Bytes
- 1024 Bytes = 1 Kilobyte (KB) -> Megabyte(MB) -> Gigabyte (GB)
-> Terabyte (TB).
- Standard images for the web should be as small as possible,
between 5 to 500 kilobytes.
- The smaller the file size the faster it’ll load. So in a photo heavy
page you wanna compress these photos as much as possible so
the page loads quickly without losing any quality.
2
Colorfulness or purity of color relative to its brightness (%). Value: the
appearance of emitting more or less light (%), shows how much white or
black is in the color.
- HEX Codes: A mathematical way to represent all 256 color codes. A pair
of digits and letters that represent R, G, B values. Hex Codes are based
on a 16 digit system (0 to F- 0 to 9 on a finger scale followed by A to F).
- Converting HEX to RGB:
- R G B
- CC 66 0
- Start with the C = 12 on a finger and multiply by 16-
12 X 16 = 192. Then add the right number which is
also 12 in this case- 192 + 12 = 204.
- If two numbers repeat themselves you add a
hashtag so instead of FF FFF FF you write #FFF.
- HEX codes are considered web safe colors.
3
random ones inside the parts you don’t want selected. When selecting a background you
wanna make sure that it is checked.
- To select a layer and make a copy of a part of the layer, click Command + J and it will
create a layer out of the selection. Use eraser tool to erase any pixels from the layer that
you don’t need.
- Edit + fill or shift + delete will give you a dialogue box so you can fill certain colors. The
one we are using in content aware which fills the selection with what photoshop thinks
should be there based on what is surrounding it.
4
- Edit + transform + warp allows you to completely edit a flat layer and create something
new.
- You can create your own drop shadow by creating duplicating layer and making black by
changing lightness. Step 2: make it fuzzy, applying filters- go to blue gallery
- The black and white looking cookie in the layers panel bottom allows you to make
changes to layers without permanently distorting them.
- Google free photoshop mockups
- Clone stamp tool- hold down option key to define area you want to copy then it will be
cloned anywhere else you want.
5
● A central processing unit (CPU), also referred to as a central processor unit, the
hardware within a computer that carries out the instructions of a computer program by
performing the basic arithmetical, logical, and input/output operations of the system.
● Storing Data in the COmputer’s Memory- retrieving data from the hard drive, caching
data, making sure the computer doesn’t run out of memory.
● Random-access memory (RAM) is a form of computer data storage. A random-access
device allows stored data to be accessed quickly in any random order. The higher the
RAM the faster the processing. It’s reserved memory for accessing stuff.
● Other types of data storage memory- hard disks, CD’s, flash drives, external hard drives.
● OS Usually have a file system where data is stored using the metaphor of a filing
cabinet:
○ Files, folders, applications that allow you to easily browse the file system.
● The Desktop Metaphor-
○ Monitor-> documents & folders-> opened up on your desk-> office accessories.
● CLI vs. GUI-
○ CLI: Command Line Interface = issues commands to an OS directly by typing
lines of code. That was the old way without today’s OS.
○ GUI (“gooey”): Graphical User Interface = interacting with the OS by manipulating
images rather than text commands. Putting a skin over our operating system to
allow us have a visual reference of what we want to do like drag and drop…
● UNIX:
○ Developed by AT&T Bell Labs in 1969
○ Uses a Command Line Interface (CLI)
○ Free distribution, Open System (open source) free for use and modification.
○ Portable, multi-tasking, multi-user
○ Servers, workstations, mobile devices
○ Basis of Linux and Mac OS, BSD Unix, AIX
● Why use CLI (Unix) over GUI?
○ Think of it as a car metaphor- manual vs. automatic transmission
○ With CLI you are working directly with the data, so non-data elements can’t get in
the way.
○ Allows for certain tasks to be more powerful. (ie: moving, copying, renaming 1000
files).
● Terminal: a MAC application that works with the UNIx Shell programming (more info
missing).
● Using terminal-- Command Structure, we write a command, like make a folder, then we
have options for a given command like what would the name of the folder be, and
arguments which would add another option.
● Unix File System-
○ File and directory paths use the forward slash to separate the directory (folder)
names in a path. Ex: with a pic inside a photos folder it will be Desktop/photos
folder/file name.jpg
6
○ Use cd to change the directory/folder to your home delivery. Use cd.. To get like
a back button and take you one level up.
○ If you want to reach a particular folder use cd <dir name> which will take you to
the specified directory.
● chmod is the command which sets permissions on your computer.
● Every file and directory has nine permissions associated with it
● Files and directories have three types of permissions (or none):
○ r(read)
○ e(write)
○ x(execute)
○ -(no permission)
● The above permissions occur for each of the following classes or users:
○ u(user/owner)
○ g(group)
○ o(other/world)
● The permissions can be altered by typing in specific codes in the Terminal. You won’t be
tested on what each code is from slide 19 but good to know.
● A command line interface cheat at the end of the PDF so you can try out terminal.
● What is a Web Page?
● An HTML of php file which sits in a folder with other photo, audio, video files which are
organized in a folder structure that uses web browsers, who’s job is to look through
these files and reading them. So the web page is really just files.
● Two languages we will be learning -
○ HTML (HyperText Markup LAnguage): used for organizing and formatting
content
○ CSS (Cascading Style Sheets): used to define and assign styles to all the
HTML organizing we have. HTML is the body and CSS is the outfit. Hard Coding
aesthetics into a web page using HTML requires it to be repeated to every single
page. Using CSS allows us to separate aesthetics into a different style which
cascades into every page.
○ HTML5 and CSS3 are the most recent versions which we will be using.
○ Programs for Writing HTML/CSS - dreamweaver, adobe … we will be using
textwrangler but you can also use things like note pad.
● The Internet & Web:
● A network of connected computers vs. a system of hyperlinked documents on that
network.
● Everything works visa shared protocol free for everyone to use.
● Clients & Serves: all these files and documents live on servers, and our computers
communicate via Hypertext Transfer Protocol (HTTP) through a series of Requests and
Responses.
● Finding your way around the web-
○ 1. The IP (Internet Protocol) Addresses: 128.122.119.209
7
○ 2. Domain Names like nyu.edu, google.com, facebook.com. What you can
purchase and from that you can have as many URL’s you want on a specific
website.
○ 3. URL (Uniform Resource Locator) specific addresses to specific pages within
the domain name.
● Browsers- software application on a client machine. Sends requests and receive files.
Displays documents, images, sound and video.
● Each browser renders a website slightly differently.
● Download a text editing software-- textwrangler and ftp program Cyberduck or Fetch.
<body>
</body>
</html>
- We access these files using FTP- File Transfer Protocol.
- Software application that allows you to add files to your web server.
- public_html is the main folder we will be uploading our work in. It is basically our
homepage.
- Inside this folder we will have lots of files and folders.
8
- Cyberduck makes the phone call to access content while textwrangler is where we write
the code.
- Every website has the same name for a homepage in lower case- index.html. We can
have multiple index.html pages they just can’t be in the same folder. Assignment 1has
one assignment 2 has one etc.
- Our url is gonna be the i6.cims.nyu.edu/~lsk311
- <h#> tags are headliners. H1 through h6 is about hierarchy and importance, h1 are
biggest and most imp. While h6 will be smallest. Big pieces of copies will be h1 tags and
headers will usually be h2 or h3 tags.
9
- The way to link things is with an <a> tag. You add attributes to link tags to tell it where to
go. Because our tags.html is in the same folder as index.html all we have to write is
tags.html to establish hyperlink.
- We can also link to external places! To link to our class website, just add the whole link
using the <a href=””> tag.
- To link to a picture just add the a tag with href. However, because we are only linking to
an image you can go back through a link on the image page. It is not an html page it is
only an image page.
- Assignment 3-- you need to make a two page website find list of requirements on our
class website. Include a logo/graphic that you make on photoshop on both pages. Add
paragraph, heading, and images in both pages. Hyperlinks that allow you to toggle back
and forth and hyperlink back to the root index.html page taking you to assignments.
Make one image a link. At least one list and one table.
- Creating a table -
- <tbody>, <thead>, <tfoot>, <tr> ← to add rows.
- To specify values of columns and rows- you need to create three cells in the
head to specify what happening in each column. For that you use <th> which is
table header, that defines the column content. It automatically bolds the text.
- <th scope=”col”></th>, <td> = table division, divides the rows and
organizes the content.
- If you want a cell to have a specific width you add colspan and if you want
to change specific height of table you add rowspan like <td colspan="3">.
- To add an image inside the table-- the src”img” doesn’t need a closing
tag-- <td><img src="img/Yes.png"</td>
<table>
<caption> Pros and Cons of Bulldogs and Poodles</caption>
<thead>
<tr>
<th scope="col">Do They...</th>
<th scope="col">Bulldogs</th>
<th scope="col">Poodles</th>
</tr>
</thead>
<tbody>
</tbody>
<tfoot>
</tfoot>
</table>
10
- You need to really think about how you wanna organize your page to optimize it
for more formats.
- Use:
- <header>
- <nav>
- <section>
- <article>
- <footer>
- All of these go inside the body tag.
- We duplicated homepage and now just edit the other page so it has the same
layout but just change the info!
- Organize out the structure to look like header, nav, section, article, and footer.
You need three pages, the first one is the index.html in public folder with links to assignments.
Other two pages about any topic you want. You should link them to each other and should also
link back to the home page. One home page for your website and one content page.
At least three hyperlinks, like linking to other pages or to wikipedia or other website.
Have one image as a hyperlink, like the logo or photograph.
Make your navigation a list. One table and properly formed html tags.
11
selector→ Body{padding:15px; background-color:#FFF000;} You can have as many
pairings as you want for a given selector. The property and value are always separated
with a ; and pairs are always separated using a :
To change all the p tags, you add the code to the top of the page under the head of the
document, below the title.
To have the background on everything and not have any gaps between paragraphs, you
need to
12
- a:active - when you press on it
- a:visited - changes color when you already accessed it
Midterm review--
- 50 mcq’s bring a #2 pencil for bubble sheet.
- Broken up into four chunks:
- 1) 20 q’s on photoshop-- main tools used in class like lasso (3 of them) like which tool
would you use to do this….
- Know masks, used for non-destructive editing, meaning you can hide some parts
of a layer. It deals with black and white colors, when you have a mask which
color does the image show through on? White. Black conceals, white
reveals.
- Knw resolutions- screen and print resolution and what defines resolution and
size, those two are independent what is the diff?
- File types--
- Color-- what’s the diff between rgb cmyck which is additive which is subtractive,
and which is used for what? Ex: which color mode would an image on the web
use-- RGB!! Ex: Knowing that RGB is an additive color process.
- 5 q’s on the computer principles. No q’s on permission codes but know the gooey? And
know basic commands in terminal, changing directory, listing items and naming a folder.
We will be asked about one of those.
- Second half of exam will be HTML and CSS--
- Here are four examples of linking an image, which is the right way to hyperlink text or an
image?
- 2 q’s about tables, what are the tags used to define a cell, table header, know diff
between ul and ordered lists.
- Questions like what is the best tag to achieve x….
- The different types of address, an IP a domain and a URL
- Know about CSS and what version we are using.
- What an FTP program is.
- CSS, same idea as html, if “i want to style x,y,z what will i use?”
- Know diff between ID and class and how they are used.
- ID used once, class can be used multiple times. One needs comma one needs
semicolon?
- There is also a question about the a:hover, a:active, and a:visited too.
- Know box model and the metaphor we used in class.. The ART gallery, the frame is x,
the madding is padding, etc.
13
- Color Scheme
- Legible fonts // emphasis
- Variation
- Visual Consistency
- Response
- Content
- Written
- Images
- UI/UX user interface / user experience
- Surprise
- Innovation
Add style rules that allow your divs to float next to each other.
Modify each style sheet for optimal viewing with different browser widths.
14
Principles of Animation- November 3rd, 2016:
Principles of Animation:
- Position A->B
- Rotation
- Transform (height +width/scale)
- Opacity
- Properties
- Window→ timeframe → frame by frame- The frame allows you to literally work on
each frame of the animation.
- Key frame (yellow diamond)= specific property at a given point in time.
Review:
- 5 Questions on twitter bootstrap.
- Opensource- free and community aspect where everyone can contribute and
make it better.
- Why use bootstrap? Inherent template based into it, built in responsive design,
equipped with built in CSS and javascript.
- Bootstrap is front end.
- Backend is everything that you can’t see (i.e. Where the contacts go in a contact
form)
- Components: nav bar, carousel/sidestroke, jumbotron.
- Wireframing- mood boards, site mapping, creating the design, dictating the position of
images and text etc.
- Using design software to create wireframes allows for more hi-def design, more detail
than a low-fidelity rough sketch.
- UI- User Interface- the physical experience of the web design
- UX- User Experience- the way a user feels while navigating through the web site. Like
adding loading animations, drop downs, things can fade in, play into the color scheme
and aesthetic of the design to add to the UX. Flow of content also adds.
- Patterns with wireframing- why are they important in the wireframing and web design
process?
- You want to create consistency unless you are creating a hierarchy of content.
- 10 questions on components of responsive design:
- Why is it important, why we need it, why we should include it on our sites.
- Where can we write additional styles for creating responsive design.
- In different CSS documents, desktop, tablet, and mobile.css.
15
- Media queries in the html pages, based on a series of variables helps us identify
which stylesheet to use.
- In these style sheets we can change font size, column orders, nav bar, column
width, anything as long as it is css based (aesthetic).
- Using float we get the columns to sit next to each other. Sometimes when using
it, the element next to it moves up, to get rid of the float-- clear.
- Using overflow allows us to show the content.
- Standard device sizes- like what device is something of this size meant to be
viewed on? (Look at the bar chart in the slides)
- Know the difference between absolute, relative, and fixed positions.
- Fixed vs. fluid? Element with fixed width vs. fluid, how do we determine that?
- Things percentage based will be fluid and change with browser size while
fixed will always have a specific width.
- HTML and CSS:
- Some core concepts, vocabulary, interpreting code samples, and error checking.
- We will get a page of HTML and he will ask about it, how many images, how
many links, are there any errors? A very basic webpage which he will write out.
- In terms of HTML, know stuff we put in the header, tables and lists, structures of
tags, main sections of an HTML document, difference between IP address and
HTML address (review the previous info on this).
- In terms of CSS and HTML, know how we write out the syntax of certain rules.
- In line, internal, and external style sheets.
- In line vs. block, class vs. ID, box model etc…
- A wild 5 questions on FTP, MAC and operating systems, UNIX, CPU etc.
- Color theory, resolution, raster vs. vectors.
- Last part of exam will be on photoshop and digital imaging with questions of gifs
built in to that.
- Know core tools of PS.
- in terms of animating gifs, and they loop how many times can they loop?
- On actual test-- when dealing with CSS and HTML, we talked about fixed vs.
fluid, if we want to create flexible sizes for fonts, how would we dictate that in
CSS?????
- We would use the em measurement to make it flexible.
- When creating external stylesheets, how can we embed another style sheet in it?
- @import (URL)
- So the only styles you have to write are the ones you want to overwrite
into the style sheet.
- What are some of the limitations to the gif format?
- Pixel size, it won’t be as clear because it only take 256 colors, because
the colors are limited it can never be super crisp.
- Some benefits of the gif, you can make it see through and it can be
animated forever.
16
- When we created gifs using the video timelines, the key frames are the
yellow dots of positioning or changing any attribute. The changing of a
property at a specific time, time-based.
- Do the gifs have to loop? Nop.
- To hide an element in CSS, use display:none.
- Some HTML elements that do not need closing tags:
- Line break <br>
- <img>
- linking stylesheet.
- <Doctype>
- <hr> horizontal rule.
-
- How do we create nested lists?
<ul>
<li> one </li> /*two elements here */
<ol>
<li>two</li>
</ol>
</ol>
</ul>
- Know the difference between commenting in html and css. Know the box model
we talked about in addition to the art gallery metaphor the midterm questions.
- Different ways we can define colors in HTML: RGB, HEX, and the actual name.
- He will give us a style rule and have us specify all the elements in it.
- Know what HTML and CSS stand for.
- HTML: Hyper text markup language
- Cascading Style Sheets.
- He will ask us to use tools to draw something??
- Know the difference between a layer style and layer effect.
- Review color and type, RGB and CMYK, kerning, letting, and tracking from the
typing lesson. Difference between serif and sans-serif font, and resolution.
- Bootstrap- variable attributes that we can add to the video tags- control, autoplay, and
loop.
- Variable: a definition we create which holds a specific value.
- Function performs a series of tasks.
- example:
function playPause(){
if(myAudio.paused)
myAudio.play();
17
else
myAudio.pause();
}
No JQuery in exam!!!
WebHosting- December 15th, 2016:
- Hosting space is a server somewhere that allows you to put all your files online,
like the i6 account.
- Web hosting costs anywhere from 10$ per year to $30 per month.
- Disk space (more is better, but you often won’t need more than a few GB)
- Bandwidth, the more people who come to your page the more you will
need. It will crash if your server if you don’t have enough bandwidth to
handle the traffic.
- Dedicated server space vs. shared server, we are using a shared one.
- Dedicated server is one with only your website on. Good for lots of
traffic and storage size, its just more expensive and if one
person’s server blows up it will impact everyone on it.
- To save everything we did in this class, take public.html server and copy it to
desktop save that. When you get a new domain name you just drag that into the
new public folder.
- SEO: Search Engine Optimization:
- Process of making your site easy for others to locate.
- The more thoughtfully and selectively you choose it the higher up it’ll
appear.
- On page techniques are the methods you can use to improve search
results for your site. Get really specific with the URL cause it will help with
search results.
- This involves identifying and implementing keywords in seven particular
places in your page:
- Page title,
- URL
- Headings
- Text
- Link Text
- Image alt text, creating hyperlinks
- Page Descriptions
18
- Use h tags in the headers for really important information so the search
engine can find it.
- Search Engine off-page techniques:
- Search engines also look at the number of other sites that link to
yours to determine search ranking.
- This is especially so when the content of a referring site is similar
to yours.
- Check google analytics to see the traffic on your site.
- It is ideal when the words that appear in links to your site also
appear in the text of the page that the site links to.
- Finally, as more people visit your site the search ranking will also
improve.
19