CSC 341: The Week beginning Oct. 2
Homework:
No new homework. Prepare for the test. Part A Friday. Part B next Monday.
Monday:
Catch-up lab time.
Wednesday:
Demo: PHP Graphics Creation
PHP_create_image.php
PHP_create_image.zip
Uses: imagecreate, imagecolorallocate,imagefilledrectangle, and imagepng($image).
Demo: using the image on another page
SoManySquares.php
SoManySquares.zip
Demo: All Work and No Play
AllWork.php
AllWork.zip
Uses imagestring
Demo of imagefilledellipse, imagesetthickness, imagearc
Inchworm.php
Inchworm.zip
Demo of imagecreatefromjpeg, imagesx, imagecolorat, imagejpeg
Face.php
Face.zip
Demo of imagettftext (ttf -- true type font)
Font.php
Font.zip
Demo of str_split, sin, cos and imagettftext
Font_2.php
Font_2.zip
Other Resources
Programming PHP
(Tatroe, MacIntyre & Lerdorf) p. 230-249
Friday:
Test 1. Part A