Skip to content

riseofritz/Scales

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scales

In this project you will create a function that simulates a scale and then use nested loops to make a pattern of scales. The particular type of scale you simulate is up to you. Reptiles, fish, armor, mermaids and dragons are all examples of things with scales. You may find slides 153 - 176 of the apjavaProcessing slide presentation helpful in completing this assignment.

Program Requirements

  • Your program will use a function void scale(int x, int y) to simulate a single scale. The arguments x and y will be used to position the scale
  • Your scale needs a shape that is either complex (uses bezier(), vertex(), curveVertex() or similiar) or composite (made by combining multiple simple shapes like rect() and ellipse()). The shape should not be a simple polygon or ellipse.
  • The pattern of scales needs to use nested loops
  • If your program uses random numbers, all random numbers must be generated using the Math.random() function

Suggested steps to start the assignment

  1. Fork this repository
  2. Open the Scales.pde file. Copy and paste the code into Processing.
  3. Complete void setup(), void draw() and void scale(int x, int y).
  4. When you are happy with the program, copy and paste it back into the Scales.pde file on GitHub.
  5. You will also need to modify index.html to customize your website with it's own title, headline and footer.
  6. The final step is to submit the URL for your website to google classroom.

Extensions

Random variations in size and color are common in nature and will give your pattern a more realistic appearance. Feathers and hair are evolutionary developments of scales and could be simulated in this project as well. Processing has a 3d mode. Another extension would be to make a 3d version of scales.

Samples of Student Work

Federico
Mikey
Kaitlin
Zoey
Curtis
Joanne
Pansy
Allison
Irisa
Viva
Jonah
Paolo
Chris
William
Eric
Kenny
Bruno
Johnny
Christina
Chris
Wing
Matthew
Max
Joshua
Eric
Pradipti
Tiffany
Koey
Jimmy
Tiffay
Andrew
Tyler
Michelle
Damian
Albert
Keneth
Alex
Jocelyn
Karina
William
Damian
Alvin
Christina
Haden
Joanne
Irisa
Christopher
Caitlyn
Breanna
Matthew
Ye
Van
Joshua
Edward
Aiden
Andrew
Jeffrey
Dylan
Mira
Austin
Ivana
Gary
Emily
Akemi
Stephen
Daniel
Lilia
Andrew
Luke
Liam
Hayden
Jacob
Noella
Caleb
Eric
Joyce
Vivian
Lexian
Raina
Rafael
Nathaniel
Nicolas
Brian
Justin
Stella
Wendy
Joseph
Joshua
Brianna
Justin
Qiao Yan
Antonio
Caden
Tommy
David
Darren
Brennan
Jennifer
Deion
Aaron
Jackie
Christina
Joselino
Nathan
Munkhtushie
Kyle
Noelle
Andy
Audrey
William
Jenna
Ryan
Nathan
Ivy
Gabriel
Joyce
Pyry
Mika
Sophia
Ethan
Emely
Nate
Koen
Annie
Jason
Ivan
Tobias
Willa
James
Kathleen
Juan
Toby
Ryan
Ryan
Evangeline
Miriam
Ethan
Loren
Sally
Tennyson
Allynaraizel
Alvin
Sonia
AndreiRock
Maxwell
Humphrey
Hannah
Piero
Fiona
Isaac
Karla
Saw
Aiden
Theo
Tara
Maya
Dylan
Nicholas
Samson
Patrick
Diego Luca
Cuiyin
Laura
Noel
Yiyuan
Artiom
Marina
Julissa
Kevin
Samantha
Charlotte
Dylan
Joanna
Andy
Victor
Ivan
Kaijun
Michelle
Kyle
Mackenzie
Douglas
Daniel
Jerry
Gage
Angela
Diego
Ivona
Sandy
Johnathan
KaloonRidge
Robin
Kayla
Justin
Leanna
Philix
Lixin
Audrey
Emily
Haoheng
Gabriel
Angela
Kelvin
Lily
Aaron
Terrance
Jessica
Grace
Daniil
Matthew
Leanna
Andre
Felicia
Andrew
Calvin
Aaron
Justin
Kyla
Calvin
Alessandra
Yuxi
Aaron
Hao
Katie
Benjamin
Etienne
Matthew
Wanyan
Kaitlyn
Austin
Tania
Evan
Xiaoyi
Damien
Marie-Fleur
Richard
Amy
Lisa
Garvin
Ethan
Ekaterina
Cole
Alice
Raymond
Jocelyn
Davyn
Francisco
Omara
Lucas
Jenny
Justin
Jason
Amiya
Ngoc
Yuki
Niko
Naomi
Casper
Charlene
Stanley
Ella
Noah
Yasmine
Ben
Wingyan
Joseph

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 99.8%
  • Other 0.2%