Difference between revisions of "IB Computer Science 1"

From WLCS
 
(527 intermediate revisions by the same user not shown)
Line 1: Line 1:
−
== Wednesday (10/10/18) ==
+
== [[IBCS1 - Archives]] ==
−
'''Agenda:'''
 
−
* Demo your TTT: Select-a-Square if you have not already done so
 
−
* [https://py.processing.org/reference/globals.html global variables]
 
−
* [https://py.processing.org/reference/mouseReleased.html mouseReleased()]
 
−
* What components of Tic-Tac-Toe are left?
 
−
** As a class, let's figure out what we need to finish our ugly Tic-Tac-Toe
 
−
** ...
 
−
** ...
 
−
<!--
 
−
* Introduction to Functions
 
−
** [https://docs.google.com/presentation/d/1W_kTmZH-qLbcFcueUBLw3skRXIDlAxLDdJB-y7AbeWM/edit?usp=sharing Functions slides]
 
−
* Complete repl.it assignment titled: "Function definitions & return"
 
−
* Processing functions assignment
 
−
-->
 
−
 
 
−
== Friday (10/6/18) ==
 
−
'''Agenda:'''
 
−
* Introduction to Animation
 
−
** setup() function
 
−
** draw() function
 
−
** mouseX and mouseY variables
 
−
** width and height variables
 
−
* Tic-Tac-Toe Select-a-Square
 
−
*# Setup your screen size to be a large square (e.g. 600x600)
 
−
*# Within the draw() function, give the background a color()
 
−
*# Draw tic-tac-toe lines on your screen (make sure that the rows and columns are exactly 1/3 the size of the height and width)
 
−
*# Add conditional statements in the draw() function to detect which square you are in
 
−
*#* You'll need to access the mouse's current coordinates with mouseX and mouseY variables
 
−
*#* Draw a square of a different color inside the particular square that you are in
 
−
*#* The effect that you will generate will look like it is highlighting the current square where the mouse is
 
−
*# Challenge: Modify your code so that changing the screen size, will automatically be adjusted and accounted for by the rest of your code. Hint: use height and width variables
 
−
*# Challenge 2: Modify your code so that it works without any conditionals.  Hint: use division and multiplication
 
−
* Coming soon...
 
−
** Functions
 
−
** Global variables
 
−
** Mouse clicks
 
−
 
 
−
== Wednesday (10/3/18) ==
 
−
'''Agenda:'''
 
−
* Complete and demo [https://docs.google.com/document/d/1-TyjK48PtO_dgBDLRxKOk8zvOReC_A5196skWzCI0wk/edit?usp=sharing Introduction: My First Sketch]
 
−
* Processing review
 
−
** size()
 
−
** rect()
 
−
** ellipse()
 
−
** line()
 
−
** background()
 
−
** fill()
 
−
** stroke()
 
−
* Draw and demo your favorite emoji / logo / cartoon character using Processing before the end of class
 
−
 
 
−
== Monday (10/1/18) ==
 
−
'''Warmup:'''
 
−
* Take the Conditionals Quiz in Canvas
 
−
 
 
−
'''Agenda:'''
 
−
* Make sure you've completed all assignments (...but how?)
 
−
* Complete & demo [[Tech Support Flow Chart Assignment]]
 
−
* Introduction to Processing - Python Mode
 
−
*# Download and install [https://processing.org/download Processing]
 
−
*# Install Python Mode (upper right corner)
 
−
*# [[Processing Labs]]
 
−
*# Complete [https://docs.google.com/document/d/1-TyjK48PtO_dgBDLRxKOk8zvOReC_A5196skWzCI0wk/edit?usp=sharing Introduction: My First Sketch]
 
−
* Draw and demo your favorite emoji / logo / cartoon character using Processing
 
−
 
 
−
== Archives ==
 
−
* [[IBCS1 - 1819 - September]]
 
−
* [[IBCS1 - 1718]]
 

Latest revision as of 08:28, 13 September 2023