PROJECT 4 Implement design interface and display of animated wallpaper patterns of animated gifs This project is divided into 3 parts, each involving your code and video presentations to display: A - all wallpaper groups with provided static figure “F” B - your cool animated gif to replace the figure “F” C - an animated COTS warp of the whole pattern (may use all or part of Jarek’s code provided) COTS animation and annulus Base Code Base code can be found on Canvas under Files. Wallpaper patterns: Files/P4 patterns/wallpaperBaseCode.zip COTS: Files/P4 patterns/COTS sketch.zip Base Code Implement the functions in Student tab. Each function has comments that may help with the implementation. Running the base code Symmetries for wallpaper group 2 (TUTVR2) have already been implemented for you. Translation vectors U and V shown in green. Output shows pattern of the letter “F” having these symmetries. Part 1: Wallpaper groups Implement the following functions: Mirror(P, MC, MV): Returns reflection of P through axis (MC,MV) Glide(P, MC, MV, d): Returns glide reflection of P about axis (MC, MV) with translation amount d. Part 1: Wallpaper groups Implement the following functions: setWallpaperSymmetries(): sets the generating symmetries for each of the 17 wallpaper patterns. Implement for the remaining 16 wallpaper groups (case 0 and cases 2- 16). Provided for reference Implement remaining cases Expected output of Part 1 Expected output images for each of the 17 wallpaper patterns can be found in the folder wallpaper/PICTURES Part 2: Design animated shapes Base code provides a function that draws simple geometry (“F” shape). Modify or use this as reference to create your own beautiful shapes. Some possible ideas: ● Flowers ● Circle packing ● Kaleidoscope patterns using image textures Part 3: COTS Mapping Apply the COTS mapping to the wallpaper pattern created in Parts 1 and 2. GUI provided ‘f’: Toggles display of the letter “F”. ‘0’: Switches between wallpaper patterns. ‘>’: Toggles display of the origin and translation vectors ‘G’: Toggles display of the fundamental region ‘g’ : Toggles display of the grid Mouse drag + ‘m’/’r’/’s’: Translates/rotates/scales the geometry of shape “F”. Mouse drag + ‘u’ or ‘v’: Modifies the U and V vectors respectively. Deliverables This is an individual project. Project is due April 19 before class. Submission via a zip file containing the following: Working code Report (pdf) ● Description of problem statement ● Brief details on how you implemented each section of the project. Video of an aesthetic animation! Extra credit options Create circle packings inside wallpaper patterns. Create periodic tilings (allowing edges between instances of the same vertex) Alternate generating symmetries for the same wallpaper groups. Design non-periodic and aperiodic patterns. 3D extensions: raised 3D pattern, warp using XMAP.
欢迎咨询51作业君