Skip to content

DainPark-web/UDK_Pixelmap_Dain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pixelmap_Infoklasse

infoklasse

Note(ToDo List)

  • mobile design
  • checken Deutsch
  • hosting(with image) und danach schicken => Robin

Index

01_Tint

  • Ein Experiment mit Tint

02_U_Array

  • loadPixels
  • get, set, updatePixels, pixelDensity
  • loadPixels => set => updatePixels => image
  • image.loadPixels
  • for(width) for(height)
  • image.get(x, y)
  • image.set(x, y, rgba)
  • image.updatePixels
  • iconizität?
  • buffer

02_Array

  • push
  • createButton
  • save Image
  • .mousePressed(function)
  • .save("name", "file") ex) ("dain", "png") 07image)analyse

03_Operator

Robin_Code Operator_js_mdn

    const color = image.get(x, y);
    const color2 = image.get(x, y + 1);
    let newColor;

    if(lightness(color) > lightness(color2)){
        newColor= [0,0,0,0]
    }else{
        newColor = [255,255,255,255]
    }
    image.set(x, y, newColor)

  • die Unterschied
++i und i++
!== und ==!

pixelSize

let pixelSize = 10;
for(let i = 0; i < img.width; i += pixelSize){
    for(let j = 0; j < img.height; j += pixelSize){
        fill(img.get(i, j))
        rect(i, j, pixelSize, pixelSize)
    }
}

💡mit Mod experimentieren 💡dist, class, mousePos, map, lerp

const dot_size = (lightness(in_color) / 255) * 40
x * CanvasSize / image.width + CanvasSize / image.width * 0.5
  • durch Farben entschieden die Größe von Circle

🐲 Aufgabe

  • +=, == experiment
  • <= experiment

CSV

RobinCode

  • preload => csv

  • methode .getRowCount() .getString(row, column)

  • aufgabe => dokumentation weiter entwickeln.

jQuery

JqueryUI Leaflet JS

overpass utrbo

EO Browser

Custom-Script