SlideShare a Scribd company logo
1 of 7
Download to read offline
Day 1

30 July 2018





Archit’s projects

Good OpenFrameworks Teacher: Jeff Krause

Talk about our projects

Physical computation: really good clas taught by Katherine Moore

	 Also, computational craft: physical interaction with the world





Variables

They are boxes which store data. You can store any kind of data in it.

Memory corresponds to a location inside the computer. 

Variables:

	 Int, float, char, string, Boolean

Another variable, which stores color values:

	 Color (r,g,b)



Most important thing with coding: 

	 PROBLEM DECOMPOSITION





Processing

Inbuilt functions: setup and draw

Setup executes only once, and draw repeats its execution

Anything with a “void” in front of it is a function





Principles to start processing:

Start with void setup and void draw functions
1.
Create variables in the global space
2.
Assign value to the variables in the setup function 
3.






































Homework
fetchdetails
ofan artistwho uses code
Drawline XI yl R2 y 2
Akshansh Chaudhary 1 MFADT Bootcamp | Parsons School of Design
Day 2

31 July 2018





SELF STUDY: Technology to study

WebGL Shaders

	 Water effect based on the person moving around it

Dan Shifmann: openFrameworks

	 flocking system, flow fields





Conditional statements

If: condition

	 It is followed by an action

Else (the first condition is not satisfied)

	 It is also followed by an action



Logical operators

AND: &&

OR: ||

NOT: !=



More Functions

Random & Noise















Day 3

Aug 1, 2018



Debugging

	 

Control objects in conditional statements

	 keyPressed

	 key == ‘s’

	 if (keyCode == UP)

	 	 or DOWN

	 void keyPressed () {}

	 void keyReleased () {}

	 	 keyReleased doesn’t work individually

	 mousePressed

	 moueButton == LEFT

	 	 or RIGHT

	 mouseX, mouseY

	 pmouseX, pmouseY

	 	 The previous position of mouse

	 map

Akshansh Chaudhary 2 MFADT Bootcamp | Parsons School of Design
Store some values and make a map





SELF STUDY: Leap motion, Makey Makey










Day 4

Aug 2, 2018





Understanding FUNCTIONS

	 With return type and without return type (void)



The features of a function: 

	 Return type: void or return-type

	 the function name: draw, keyPressed, etc. 

	 the parameter/ argument ( ) 

	 	 like, rect (x, y, length, breadth) == rect (int, int, int, int)

	 Start and end with { } brackets



The steps to use a function:

	 Declare the function

	 Use it (call the function)





Example of an int return type:
int sum (int a, int b) {
	 int result;
	 result = a + b;
	 return result;
}


MAP FUNCTION

	 map (variable, existing initial, existing final, new initial value, new final value)

	 	 Store this value in something











Day 5

Aug 3, 2018



Working with Images

PImage function

	 Setup: variable = loadImage (“”);

	 Draw: image (variable, xCoordinate, yCoordinate, height, width);

Make a data folder and put all assets inside it. 

	 Processing knows what is the data folder and will take all the files inside it. You don’t need to give
Akshansh Chaudhary 3 MFADT Bootcamp | Parsons School of Design
a path for that folder inside processing.





Using Text

Types

	 text, textSize, fill (text color), 

Using a Google Font

	 PFont function







Day 5

Aug 6, 2018







Arrays and For Loops



ARRAYS

If variables are boxes, arrays are shipping containers for those boxes

	 Add [ ] next to a variable to make it an array

	 	 int [ ] batman = {90, 2, 23, 64}; (Batman is an int type)

	 	 string [ ] Spock = {“live”, “long”, “prosper”); (Spock is a string type)



Array naming convention:

	 batman [0] = 90, batman[2] = 23



Give a size of an array (instead of adding values to it)

	 int[ ] num = new int [6]

	 	 This is an array of 6 elements



2D Arrays

	 int [ ] [ ] batman = {32, 53, 64, 12} {123, 64, 15, 64};





FOR Loop 

It can control the number of times the draw function repeats itself 



for (int i = 0; i<5; i++) { }









Day 7

Aug 7, 2018





TRANSFORMATION



Rotate, scale: these transformations rotate the entire canvas

To keep the transformations limited to a particular object, use pushMatrix and popMatrix



Example:

Akshansh Chaudhary 4 MFADT Bootcamp | Parsons School of Design
pushMatrix();

fill(o, 0, 255);

translate(width/2, height/2);

scale(5,5);

ellipse(0,0,20,20);

popMatrix();

angle++;









Day 8

Aug 8, 2018







OBJECTS and CLASSES



Class is a template or blueprint of something, which you can call in a program

	 eg. make a dog: class

	 	 features (nouns) of the dog: variables

	 	 activities (verbs) of the dog: functions	 





ACTIVITY

You are a Venture Capitalists and you want to make a hover board

	 List the list of things (data: parts of the hover board) and identify the functions (what the hover
board can do)



THINGS (data/ components)

Board;

SizeX;

SizeY;

SizeZ;

Speed;

LoadCapacity;

Thrust;

Color;



FUNCTIONS (features)

runOverWater(){}

FlyInverted(){}

NormalFly() {}

TurnLeft () {}

TurnRight () {}

Bounce() {}

SpeedBreak() {}

ThrowLasers() {}

FlipLocation() {}

ElectricCharge () {}





Comments on using classes: inside the sample program

Akshansh Chaudhary 5 MFADT Bootcamp | Parsons School of Design
Day 10

Aug 10, 2018





TEXT ADVENTURE CRITIQUE

The text flow of the text adventure was not in order
1.
Probably, make the options come as a pop up in another screen
A.


BOOTCAMP FINAL CRITIQUE

Don’t say it is a game. Say it as a Playful Interaction or Storytelling
1.
Sven is critical about games not working as games
A.
Update Design Statement: what is the purpose of the project?
2.
Who is it for?
A.
Akshansh Chaudhary 6 MFADT Bootcamp | Parsons School of Design

More Related Content

What's hot

Python Matplotlib Tutorial | Matplotlib Tutorial | Python Tutorial | Python T...
Python Matplotlib Tutorial | Matplotlib Tutorial | Python Tutorial | Python T...Python Matplotlib Tutorial | Matplotlib Tutorial | Python Tutorial | Python T...
Python Matplotlib Tutorial | Matplotlib Tutorial | Python Tutorial | Python T...Edureka!
 
Effective Numerical Computation in NumPy and SciPy
Effective Numerical Computation in NumPy and SciPyEffective Numerical Computation in NumPy and SciPy
Effective Numerical Computation in NumPy and SciPyKimikazu Kato
 
Recommendation System --Theory and Practice
Recommendation System --Theory and PracticeRecommendation System --Theory and Practice
Recommendation System --Theory and PracticeKimikazu Kato
 
The Elements of Machine Learning
The Elements of Machine LearningThe Elements of Machine Learning
The Elements of Machine LearningAlexander Jung
 
Scientific Computing with Python Webinar March 19: 3D Visualization with Mayavi
Scientific Computing with Python Webinar March 19: 3D Visualization with MayaviScientific Computing with Python Webinar March 19: 3D Visualization with Mayavi
Scientific Computing with Python Webinar March 19: 3D Visualization with MayaviEnthought, Inc.
 
Numpy tutorial(final) 20160303
Numpy tutorial(final) 20160303Numpy tutorial(final) 20160303
Numpy tutorial(final) 20160303Namgee Lee
 
Intoduction to numpy
Intoduction to numpyIntoduction to numpy
Intoduction to numpyFaraz Ahmed
 
Bin Sorting And Bubble Sort By Luisito G. Trinidad
Bin Sorting And Bubble Sort By Luisito G. TrinidadBin Sorting And Bubble Sort By Luisito G. Trinidad
Bin Sorting And Bubble Sort By Luisito G. TrinidadLUISITO TRINIDAD
 
Sequence and Traverse - Part 3
Sequence and Traverse - Part 3Sequence and Traverse - Part 3
Sequence and Traverse - Part 3Philip Schwarz
 
A Survey Of R Graphics
A Survey Of R GraphicsA Survey Of R Graphics
A Survey Of R GraphicsDataspora
 
Quicksort - a whistle-stop tour of the algorithm in five languages and four p...
Quicksort - a whistle-stop tour of the algorithm in five languages and four p...Quicksort - a whistle-stop tour of the algorithm in five languages and four p...
Quicksort - a whistle-stop tour of the algorithm in five languages and four p...Philip Schwarz
 
Scientific Computing with Python - NumPy | WeiYuan
Scientific Computing with Python - NumPy | WeiYuanScientific Computing with Python - NumPy | WeiYuan
Scientific Computing with Python - NumPy | WeiYuanWei-Yuan Chang
 
1 seaborn introduction
1 seaborn introduction 1 seaborn introduction
1 seaborn introduction YuleiLi3
 
Matlab Graphics Tutorial
Matlab Graphics TutorialMatlab Graphics Tutorial
Matlab Graphics TutorialCheng-An Yang
 
Project Lambda - Closures after all?
Project Lambda - Closures after all?Project Lambda - Closures after all?
Project Lambda - Closures after all?Andreas Enbohm
 

What's hot (20)

Python Matplotlib Tutorial | Matplotlib Tutorial | Python Tutorial | Python T...
Python Matplotlib Tutorial | Matplotlib Tutorial | Python Tutorial | Python T...Python Matplotlib Tutorial | Matplotlib Tutorial | Python Tutorial | Python T...
Python Matplotlib Tutorial | Matplotlib Tutorial | Python Tutorial | Python T...
 
Monad Fact #2
Monad Fact #2Monad Fact #2
Monad Fact #2
 
Effective Numerical Computation in NumPy and SciPy
Effective Numerical Computation in NumPy and SciPyEffective Numerical Computation in NumPy and SciPy
Effective Numerical Computation in NumPy and SciPy
 
Python Scipy Numpy
Python Scipy NumpyPython Scipy Numpy
Python Scipy Numpy
 
Recommendation System --Theory and Practice
Recommendation System --Theory and PracticeRecommendation System --Theory and Practice
Recommendation System --Theory and Practice
 
The Elements of Machine Learning
The Elements of Machine LearningThe Elements of Machine Learning
The Elements of Machine Learning
 
Scientific Computing with Python Webinar March 19: 3D Visualization with Mayavi
Scientific Computing with Python Webinar March 19: 3D Visualization with MayaviScientific Computing with Python Webinar March 19: 3D Visualization with Mayavi
Scientific Computing with Python Webinar March 19: 3D Visualization with Mayavi
 
Numpy tutorial(final) 20160303
Numpy tutorial(final) 20160303Numpy tutorial(final) 20160303
Numpy tutorial(final) 20160303
 
Functor Composition
Functor CompositionFunctor Composition
Functor Composition
 
NUMPY
NUMPY NUMPY
NUMPY
 
Intoduction to numpy
Intoduction to numpyIntoduction to numpy
Intoduction to numpy
 
Bin Sorting And Bubble Sort By Luisito G. Trinidad
Bin Sorting And Bubble Sort By Luisito G. TrinidadBin Sorting And Bubble Sort By Luisito G. Trinidad
Bin Sorting And Bubble Sort By Luisito G. Trinidad
 
Sequence and Traverse - Part 3
Sequence and Traverse - Part 3Sequence and Traverse - Part 3
Sequence and Traverse - Part 3
 
A Survey Of R Graphics
A Survey Of R GraphicsA Survey Of R Graphics
A Survey Of R Graphics
 
Quicksort - a whistle-stop tour of the algorithm in five languages and four p...
Quicksort - a whistle-stop tour of the algorithm in five languages and four p...Quicksort - a whistle-stop tour of the algorithm in five languages and four p...
Quicksort - a whistle-stop tour of the algorithm in five languages and four p...
 
Numpy python cheat_sheet
Numpy python cheat_sheetNumpy python cheat_sheet
Numpy python cheat_sheet
 
Scientific Computing with Python - NumPy | WeiYuan
Scientific Computing with Python - NumPy | WeiYuanScientific Computing with Python - NumPy | WeiYuan
Scientific Computing with Python - NumPy | WeiYuan
 
1 seaborn introduction
1 seaborn introduction 1 seaborn introduction
1 seaborn introduction
 
Matlab Graphics Tutorial
Matlab Graphics TutorialMatlab Graphics Tutorial
Matlab Graphics Tutorial
 
Project Lambda - Closures after all?
Project Lambda - Closures after all?Project Lambda - Closures after all?
Project Lambda - Closures after all?
 

Similar to Bootcamp Code Notes - Akshansh Chaudhary

Monads and Monoids by Oleksiy Dyagilev
Monads and Monoids by Oleksiy DyagilevMonads and Monoids by Oleksiy Dyagilev
Monads and Monoids by Oleksiy DyagilevJavaDayUA
 
Functional Programming You Already Know - Kevlin Henney - Codemotion Rome 2015
Functional Programming You Already Know - Kevlin Henney - Codemotion Rome 2015Functional Programming You Already Know - Kevlin Henney - Codemotion Rome 2015
Functional Programming You Already Know - Kevlin Henney - Codemotion Rome 2015Codemotion
 
C++ STL (quickest way to learn, even for absolute beginners).pptx
C++ STL (quickest way to learn, even for absolute beginners).pptxC++ STL (quickest way to learn, even for absolute beginners).pptx
C++ STL (quickest way to learn, even for absolute beginners).pptxAbhishek Tirkey
 
C++ STL (quickest way to learn, even for absolute beginners).pptx
C++ STL (quickest way to learn, even for absolute beginners).pptxC++ STL (quickest way to learn, even for absolute beginners).pptx
C++ STL (quickest way to learn, even for absolute beginners).pptxGauravPandey43518
 
Functional Programming
Functional ProgrammingFunctional Programming
Functional ProgrammingYuan Wang
 
Ankara Jug - Practical Functional Programming with Scala
Ankara Jug - Practical Functional Programming with ScalaAnkara Jug - Practical Functional Programming with Scala
Ankara Jug - Practical Functional Programming with ScalaEnsar Basri Kahveci
 
CS101- Introduction to Computing- Lecture 38
CS101- Introduction to Computing- Lecture 38CS101- Introduction to Computing- Lecture 38
CS101- Introduction to Computing- Lecture 38Bilal Ahmed
 
CS101- Introduction to Computing- Lecture 35
CS101- Introduction to Computing- Lecture 35CS101- Introduction to Computing- Lecture 35
CS101- Introduction to Computing- Lecture 35Bilal Ahmed
 
Basic Python Programming: Part 01 and Part 02
Basic Python Programming: Part 01 and Part 02Basic Python Programming: Part 01 and Part 02
Basic Python Programming: Part 01 and Part 02Fariz Darari
 
Functional programming using underscorejs
Functional programming using underscorejsFunctional programming using underscorejs
Functional programming using underscorejs偉格 高
 
Lec 9 05_sept [compatibility mode]
Lec 9 05_sept [compatibility mode]Lec 9 05_sept [compatibility mode]
Lec 9 05_sept [compatibility mode]Palak Sanghani
 
Sequence and Traverse - Part 2
Sequence and Traverse - Part 2Sequence and Traverse - Part 2
Sequence and Traverse - Part 2Philip Schwarz
 
Java script objects 1
Java script objects 1Java script objects 1
Java script objects 1H K
 
Informatics Practices (new) solution CBSE 2021, Compartment, improvement ex...
Informatics Practices (new) solution CBSE  2021, Compartment,  improvement ex...Informatics Practices (new) solution CBSE  2021, Compartment,  improvement ex...
Informatics Practices (new) solution CBSE 2021, Compartment, improvement ex...FarhanAhmade
 
Mixing functional and object oriented approaches to programming in C#
Mixing functional and object oriented approaches to programming in C#Mixing functional and object oriented approaches to programming in C#
Mixing functional and object oriented approaches to programming in C#Mark Needham
 

Similar to Bootcamp Code Notes - Akshansh Chaudhary (20)

Monads and Monoids by Oleksiy Dyagilev
Monads and Monoids by Oleksiy DyagilevMonads and Monoids by Oleksiy Dyagilev
Monads and Monoids by Oleksiy Dyagilev
 
Jeop game-final-review
Jeop game-final-reviewJeop game-final-review
Jeop game-final-review
 
Functional Programming You Already Know - Kevlin Henney - Codemotion Rome 2015
Functional Programming You Already Know - Kevlin Henney - Codemotion Rome 2015Functional Programming You Already Know - Kevlin Henney - Codemotion Rome 2015
Functional Programming You Already Know - Kevlin Henney - Codemotion Rome 2015
 
C++ STL (quickest way to learn, even for absolute beginners).pptx
C++ STL (quickest way to learn, even for absolute beginners).pptxC++ STL (quickest way to learn, even for absolute beginners).pptx
C++ STL (quickest way to learn, even for absolute beginners).pptx
 
C++ STL (quickest way to learn, even for absolute beginners).pptx
C++ STL (quickest way to learn, even for absolute beginners).pptxC++ STL (quickest way to learn, even for absolute beginners).pptx
C++ STL (quickest way to learn, even for absolute beginners).pptx
 
Functional Programming
Functional ProgrammingFunctional Programming
Functional Programming
 
Ankara Jug - Practical Functional Programming with Scala
Ankara Jug - Practical Functional Programming with ScalaAnkara Jug - Practical Functional Programming with Scala
Ankara Jug - Practical Functional Programming with Scala
 
CS101- Introduction to Computing- Lecture 38
CS101- Introduction to Computing- Lecture 38CS101- Introduction to Computing- Lecture 38
CS101- Introduction to Computing- Lecture 38
 
CS101- Introduction to Computing- Lecture 35
CS101- Introduction to Computing- Lecture 35CS101- Introduction to Computing- Lecture 35
CS101- Introduction to Computing- Lecture 35
 
Basic Python Programming: Part 01 and Part 02
Basic Python Programming: Part 01 and Part 02Basic Python Programming: Part 01 and Part 02
Basic Python Programming: Part 01 and Part 02
 
Functional programming using underscorejs
Functional programming using underscorejsFunctional programming using underscorejs
Functional programming using underscorejs
 
Java Basics - Part1
Java Basics - Part1Java Basics - Part1
Java Basics - Part1
 
Lec 9 05_sept [compatibility mode]
Lec 9 05_sept [compatibility mode]Lec 9 05_sept [compatibility mode]
Lec 9 05_sept [compatibility mode]
 
Sequence and Traverse - Part 2
Sequence and Traverse - Part 2Sequence and Traverse - Part 2
Sequence and Traverse - Part 2
 
Java script objects 1
Java script objects 1Java script objects 1
Java script objects 1
 
Ruby Programming Assignment Help
Ruby Programming Assignment HelpRuby Programming Assignment Help
Ruby Programming Assignment Help
 
Ruby Programming Assignment Help
Ruby Programming Assignment HelpRuby Programming Assignment Help
Ruby Programming Assignment Help
 
Kpi driven-java-development-fn conf
Kpi driven-java-development-fn confKpi driven-java-development-fn conf
Kpi driven-java-development-fn conf
 
Informatics Practices (new) solution CBSE 2021, Compartment, improvement ex...
Informatics Practices (new) solution CBSE  2021, Compartment,  improvement ex...Informatics Practices (new) solution CBSE  2021, Compartment,  improvement ex...
Informatics Practices (new) solution CBSE 2021, Compartment, improvement ex...
 
Mixing functional and object oriented approaches to programming in C#
Mixing functional and object oriented approaches to programming in C#Mixing functional and object oriented approaches to programming in C#
Mixing functional and object oriented approaches to programming in C#
 

More from Akshansh Chaudhary

Typography and Visual Design Notes - Akshansh
Typography and Visual Design Notes - AkshanshTypography and Visual Design Notes - Akshansh
Typography and Visual Design Notes - AkshanshAkshansh Chaudhary
 
Storytelling with Data Notes - Akshansh
Storytelling with Data Notes - AkshanshStorytelling with Data Notes - Akshansh
Storytelling with Data Notes - AkshanshAkshansh Chaudhary
 
Major Studio 2 Notes - Akshansh
Major Studio 2 Notes - AkshanshMajor Studio 2 Notes - Akshansh
Major Studio 2 Notes - AkshanshAkshansh Chaudhary
 
Design and Education Notes - Akshansh
Design and Education Notes - AkshanshDesign and Education Notes - Akshansh
Design and Education Notes - AkshanshAkshansh Chaudhary
 
Computational Form Notes - Akshansh
Computational Form Notes - AkshanshComputational Form Notes - Akshansh
Computational Form Notes - AkshanshAkshansh Chaudhary
 
Collab Tech and Performance Notes - Akshansh
Collab Tech and Performance Notes - AkshanshCollab Tech and Performance Notes - Akshansh
Collab Tech and Performance Notes - AkshanshAkshansh Chaudhary
 
Creativity and Computation Lab Notes - Akshansh Chaudhary
Creativity and Computation Lab Notes - Akshansh ChaudharyCreativity and Computation Lab Notes - Akshansh Chaudhary
Creativity and Computation Lab Notes - Akshansh ChaudharyAkshansh Chaudhary
 
Bootcamp Web Notes - Akshansh Chaudhary
Bootcamp Web Notes - Akshansh ChaudharyBootcamp Web Notes - Akshansh Chaudhary
Bootcamp Web Notes - Akshansh ChaudharyAkshansh Chaudhary
 
Bootcamp Design Notes - Akshansh Chaudhary
Bootcamp Design Notes - Akshansh ChaudharyBootcamp Design Notes - Akshansh Chaudhary
Bootcamp Design Notes - Akshansh ChaudharyAkshansh Chaudhary
 
Recursive Reality Notes - Akshansh Chaudhary
Recursive Reality Notes - Akshansh ChaudharyRecursive Reality Notes - Akshansh Chaudhary
Recursive Reality Notes - Akshansh ChaudharyAkshansh Chaudhary
 
Motion Graphics Notes - Akshansh Chaudhary
Motion Graphics Notes - Akshansh ChaudharyMotion Graphics Notes - Akshansh Chaudhary
Motion Graphics Notes - Akshansh ChaudharyAkshansh Chaudhary
 
Major Studio 1 Notes - Akshansh Chaudhary
Major Studio 1 Notes - Akshansh ChaudharyMajor Studio 1 Notes - Akshansh Chaudhary
Major Studio 1 Notes - Akshansh ChaudharyAkshansh Chaudhary
 
Design for This Century Lecture Notes - Akshansh Chaudhary
Design for This Century Lecture Notes - Akshansh ChaudharyDesign for This Century Lecture Notes - Akshansh Chaudhary
Design for This Century Lecture Notes - Akshansh ChaudharyAkshansh Chaudhary
 
Creativity and Computation Lecture Notes - Akshansh Chaudhary
Creativity and Computation Lecture Notes - Akshansh ChaudharyCreativity and Computation Lecture Notes - Akshansh Chaudhary
Creativity and Computation Lecture Notes - Akshansh ChaudharyAkshansh Chaudhary
 
Design for This Century Recitation Notes - Akshansh Chaudhary
Design for This Century Recitation Notes - Akshansh ChaudharyDesign for This Century Recitation Notes - Akshansh Chaudhary
Design for This Century Recitation Notes - Akshansh ChaudharyAkshansh Chaudhary
 
Data Structure and Algorithm Notes - Ronak Sumbaly
Data Structure and Algorithm Notes - Ronak SumbalyData Structure and Algorithm Notes - Ronak Sumbaly
Data Structure and Algorithm Notes - Ronak SumbalyAkshansh Chaudhary
 
Logic in Computer Science Notes - Ronak Sumbaly
Logic in Computer Science Notes - Ronak SumbalyLogic in Computer Science Notes - Ronak Sumbaly
Logic in Computer Science Notes - Ronak SumbalyAkshansh Chaudhary
 
Discrete Structure Notes - Ronak Sumbaly
Discrete Structure Notes - Ronak SumbalyDiscrete Structure Notes - Ronak Sumbaly
Discrete Structure Notes - Ronak SumbalyAkshansh Chaudhary
 
Design and Analysis of Algorithms Notes - Ronak Sumbaly
Design and Analysis of Algorithms Notes - Ronak SumbalyDesign and Analysis of Algorithms Notes - Ronak Sumbaly
Design and Analysis of Algorithms Notes - Ronak SumbalyAkshansh Chaudhary
 
Data Mining Notes - Ronak Sumbaly
Data Mining Notes - Ronak SumbalyData Mining Notes - Ronak Sumbaly
Data Mining Notes - Ronak SumbalyAkshansh Chaudhary
 

More from Akshansh Chaudhary (20)

Typography and Visual Design Notes - Akshansh
Typography and Visual Design Notes - AkshanshTypography and Visual Design Notes - Akshansh
Typography and Visual Design Notes - Akshansh
 
Storytelling with Data Notes - Akshansh
Storytelling with Data Notes - AkshanshStorytelling with Data Notes - Akshansh
Storytelling with Data Notes - Akshansh
 
Major Studio 2 Notes - Akshansh
Major Studio 2 Notes - AkshanshMajor Studio 2 Notes - Akshansh
Major Studio 2 Notes - Akshansh
 
Design and Education Notes - Akshansh
Design and Education Notes - AkshanshDesign and Education Notes - Akshansh
Design and Education Notes - Akshansh
 
Computational Form Notes - Akshansh
Computational Form Notes - AkshanshComputational Form Notes - Akshansh
Computational Form Notes - Akshansh
 
Collab Tech and Performance Notes - Akshansh
Collab Tech and Performance Notes - AkshanshCollab Tech and Performance Notes - Akshansh
Collab Tech and Performance Notes - Akshansh
 
Creativity and Computation Lab Notes - Akshansh Chaudhary
Creativity and Computation Lab Notes - Akshansh ChaudharyCreativity and Computation Lab Notes - Akshansh Chaudhary
Creativity and Computation Lab Notes - Akshansh Chaudhary
 
Bootcamp Web Notes - Akshansh Chaudhary
Bootcamp Web Notes - Akshansh ChaudharyBootcamp Web Notes - Akshansh Chaudhary
Bootcamp Web Notes - Akshansh Chaudhary
 
Bootcamp Design Notes - Akshansh Chaudhary
Bootcamp Design Notes - Akshansh ChaudharyBootcamp Design Notes - Akshansh Chaudhary
Bootcamp Design Notes - Akshansh Chaudhary
 
Recursive Reality Notes - Akshansh Chaudhary
Recursive Reality Notes - Akshansh ChaudharyRecursive Reality Notes - Akshansh Chaudhary
Recursive Reality Notes - Akshansh Chaudhary
 
Motion Graphics Notes - Akshansh Chaudhary
Motion Graphics Notes - Akshansh ChaudharyMotion Graphics Notes - Akshansh Chaudhary
Motion Graphics Notes - Akshansh Chaudhary
 
Major Studio 1 Notes - Akshansh Chaudhary
Major Studio 1 Notes - Akshansh ChaudharyMajor Studio 1 Notes - Akshansh Chaudhary
Major Studio 1 Notes - Akshansh Chaudhary
 
Design for This Century Lecture Notes - Akshansh Chaudhary
Design for This Century Lecture Notes - Akshansh ChaudharyDesign for This Century Lecture Notes - Akshansh Chaudhary
Design for This Century Lecture Notes - Akshansh Chaudhary
 
Creativity and Computation Lecture Notes - Akshansh Chaudhary
Creativity and Computation Lecture Notes - Akshansh ChaudharyCreativity and Computation Lecture Notes - Akshansh Chaudhary
Creativity and Computation Lecture Notes - Akshansh Chaudhary
 
Design for This Century Recitation Notes - Akshansh Chaudhary
Design for This Century Recitation Notes - Akshansh ChaudharyDesign for This Century Recitation Notes - Akshansh Chaudhary
Design for This Century Recitation Notes - Akshansh Chaudhary
 
Data Structure and Algorithm Notes - Ronak Sumbaly
Data Structure and Algorithm Notes - Ronak SumbalyData Structure and Algorithm Notes - Ronak Sumbaly
Data Structure and Algorithm Notes - Ronak Sumbaly
 
Logic in Computer Science Notes - Ronak Sumbaly
Logic in Computer Science Notes - Ronak SumbalyLogic in Computer Science Notes - Ronak Sumbaly
Logic in Computer Science Notes - Ronak Sumbaly
 
Discrete Structure Notes - Ronak Sumbaly
Discrete Structure Notes - Ronak SumbalyDiscrete Structure Notes - Ronak Sumbaly
Discrete Structure Notes - Ronak Sumbaly
 
Design and Analysis of Algorithms Notes - Ronak Sumbaly
Design and Analysis of Algorithms Notes - Ronak SumbalyDesign and Analysis of Algorithms Notes - Ronak Sumbaly
Design and Analysis of Algorithms Notes - Ronak Sumbaly
 
Data Mining Notes - Ronak Sumbaly
Data Mining Notes - Ronak SumbalyData Mining Notes - Ronak Sumbaly
Data Mining Notes - Ronak Sumbaly
 

Recently uploaded

Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parentsnavabharathschool99
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYKayeClaireEstoconing
 
Q4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptxQ4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptxnelietumpap1
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxCarlos105
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfTechSoup
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxAshokKarra1
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfMr Bounab Samir
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfphamnguyenenglishnb
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxAnupkumar Sharma
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 

Recently uploaded (20)

Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parents
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
 
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptxYOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
 
Q4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptxQ4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptx
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptx
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptxLEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
 
Raw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptxRaw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptx
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 

Bootcamp Code Notes - Akshansh Chaudhary

  • 1.
  • 2. Day 1 30 July 2018 Archit’s projects Good OpenFrameworks Teacher: Jeff Krause Talk about our projects Physical computation: really good clas taught by Katherine Moore Also, computational craft: physical interaction with the world Variables They are boxes which store data. You can store any kind of data in it. Memory corresponds to a location inside the computer. Variables: Int, float, char, string, Boolean Another variable, which stores color values: Color (r,g,b) Most important thing with coding: PROBLEM DECOMPOSITION Processing Inbuilt functions: setup and draw Setup executes only once, and draw repeats its execution Anything with a “void” in front of it is a function Principles to start processing: Start with void setup and void draw functions 1. Create variables in the global space 2. Assign value to the variables in the setup function 3. Homework fetchdetails ofan artistwho uses code Drawline XI yl R2 y 2 Akshansh Chaudhary 1 MFADT Bootcamp | Parsons School of Design
  • 3. Day 2 31 July 2018 SELF STUDY: Technology to study WebGL Shaders Water effect based on the person moving around it Dan Shifmann: openFrameworks flocking system, flow fields Conditional statements If: condition It is followed by an action Else (the first condition is not satisfied) It is also followed by an action Logical operators AND: && OR: || NOT: != More Functions Random & Noise Day 3 Aug 1, 2018 Debugging Control objects in conditional statements keyPressed key == ‘s’ if (keyCode == UP) or DOWN void keyPressed () {} void keyReleased () {} keyReleased doesn’t work individually mousePressed moueButton == LEFT or RIGHT mouseX, mouseY pmouseX, pmouseY The previous position of mouse map Akshansh Chaudhary 2 MFADT Bootcamp | Parsons School of Design
  • 4. Store some values and make a map SELF STUDY: Leap motion, Makey Makey Day 4 Aug 2, 2018 Understanding FUNCTIONS With return type and without return type (void) The features of a function: Return type: void or return-type the function name: draw, keyPressed, etc. the parameter/ argument ( ) like, rect (x, y, length, breadth) == rect (int, int, int, int) Start and end with { } brackets The steps to use a function: Declare the function Use it (call the function) Example of an int return type: int sum (int a, int b) { int result; result = a + b; return result; } MAP FUNCTION map (variable, existing initial, existing final, new initial value, new final value) Store this value in something Day 5 Aug 3, 2018 Working with Images PImage function Setup: variable = loadImage (“”); Draw: image (variable, xCoordinate, yCoordinate, height, width); Make a data folder and put all assets inside it. Processing knows what is the data folder and will take all the files inside it. You don’t need to give Akshansh Chaudhary 3 MFADT Bootcamp | Parsons School of Design
  • 5. a path for that folder inside processing. Using Text Types text, textSize, fill (text color), Using a Google Font PFont function Day 5 Aug 6, 2018 Arrays and For Loops ARRAYS If variables are boxes, arrays are shipping containers for those boxes Add [ ] next to a variable to make it an array int [ ] batman = {90, 2, 23, 64}; (Batman is an int type) string [ ] Spock = {“live”, “long”, “prosper”); (Spock is a string type) Array naming convention: batman [0] = 90, batman[2] = 23 Give a size of an array (instead of adding values to it) int[ ] num = new int [6] This is an array of 6 elements 2D Arrays int [ ] [ ] batman = {32, 53, 64, 12} {123, 64, 15, 64}; FOR Loop It can control the number of times the draw function repeats itself for (int i = 0; i<5; i++) { } Day 7 Aug 7, 2018 TRANSFORMATION Rotate, scale: these transformations rotate the entire canvas To keep the transformations limited to a particular object, use pushMatrix and popMatrix Example: Akshansh Chaudhary 4 MFADT Bootcamp | Parsons School of Design
  • 6. pushMatrix(); fill(o, 0, 255); translate(width/2, height/2); scale(5,5); ellipse(0,0,20,20); popMatrix(); angle++; Day 8 Aug 8, 2018 OBJECTS and CLASSES Class is a template or blueprint of something, which you can call in a program eg. make a dog: class features (nouns) of the dog: variables activities (verbs) of the dog: functions ACTIVITY You are a Venture Capitalists and you want to make a hover board List the list of things (data: parts of the hover board) and identify the functions (what the hover board can do) THINGS (data/ components) Board; SizeX; SizeY; SizeZ; Speed; LoadCapacity; Thrust; Color; FUNCTIONS (features) runOverWater(){} FlyInverted(){} NormalFly() {} TurnLeft () {} TurnRight () {} Bounce() {} SpeedBreak() {} ThrowLasers() {} FlipLocation() {} ElectricCharge () {} Comments on using classes: inside the sample program Akshansh Chaudhary 5 MFADT Bootcamp | Parsons School of Design
  • 7. Day 10 Aug 10, 2018 TEXT ADVENTURE CRITIQUE The text flow of the text adventure was not in order 1. Probably, make the options come as a pop up in another screen A. BOOTCAMP FINAL CRITIQUE Don’t say it is a game. Say it as a Playful Interaction or Storytelling 1. Sven is critical about games not working as games A. Update Design Statement: what is the purpose of the project? 2. Who is it for? A. Akshansh Chaudhary 6 MFADT Bootcamp | Parsons School of Design