100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
Samenvatting Informatica – Fundament – 5 VWO – J + P Programmeerparadigma’s en User experiece – H1 Kennismaken met P5 $4.58   Add to cart

Summary

Samenvatting Informatica – Fundament – 5 VWO – J + P Programmeerparadigma’s en User experiece – H1 Kennismaken met P5

 7 views  0 purchase
  • Course
  • Level

Samenvatting: Informatica – Fundament – 5 VWO – J + P Programmeerparadigma’s en User experiece – H1 Kennismaken met P5

Preview 1 out of 4  pages

  • April 20, 2022
  • 4
  • 2021/2022
  • Summary
  • Secondary school
  • 5
avatar-seller
Joël Smit | 5V.in1


Informatica – J + P Programmeerparadigma’s en User experience
1.1 Het canvas: ons speelveld
Setup  beginsituatie van programma creëren
Canvas  veld van pixels  naar punt verwijzen met x- en y-waarde waarbij 0,0
linksboven is:
 Grotere x-waarde  naar rechts
 Grotere y-waarde  naar beneden
Cirkel
function draw() {
noStroke() ;
fill(‘kleur) ;
ellipse(afstand van linksboven naar rechts, afstand naar beneden, (= middelpunt
cirkel), diameter cirkel)
of:
ellipse(afstand van linksboven naar rechts, afstand naar beneden, (= middelpunt
cirkel), breedte cirkel, hoogte cirkel)
}
Rechthoek
function draw() {
stroke(‘kleur’) ;
fill(‘kleur’) ;
strokeWeight(10) ; (= dikte lijn)
rect(afstand van linksboven naar rechts, afstand naar beneden, (= beginpunt
rechthoek), lengte lijn naar rechts, lengte lijn naar beneden)
}
Driehoek
function draw() {
noStroke() ;
fill(‘kleur’) ;
triangle(afstand van linksboven naar rechts, afstand naar beneden, (= bovenpunt
driehoek), afstand van linksboven naar rechts, afstand naar beneden, (=
linkerpunt driehoek), afstand van linksboven naar rechts, afstand naar beneden,
(= rechterpunt driehoek))
}
Shape
function draw() {
strokeWeight(5); (= dikte lijn)
stroke(‘kleur’);
fill(‘kleur’);
beginShape();
vertex(afstand van linksboven naar rechts, afstand naar beneden); (= punt 1)
vertex(afstand van linksboven naar rechts, afstand naar beneden); (= punt 2)
vertex(afstand van linksboven naar rechts, afstand naar beneden); (= punt 3) etc.
endShape(CLOSE);
}
Line
function draw() {



1

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller SmitJoël. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $4.58. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

78291 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$4.58
  • (0)
  Add to cart