This is just a study. This is a sheep herding game. You only use the mouse pointer to move. Control the cat to herd the sheep. Clear the game by gathering all the sheep in one spot anywhere. / ただの習作です。羊飼いゲーム(羊追いゲーム)です。使用するのはマウスポインタの移動のみです。猫を操作して羊を追い立ててください。どこでもいいので、羊を一箇所に集めることができたらゲームクリアです。
“study20251028_hitsuji” by cleemy desu wayo
https://openprocessing.org/sketch/2770199
License CreativeCommons Attribution
https://creativecommons.org/licenses/by/3.0
🌸 p5.js says: p5 had problems creating the global function "model", possibly because your code is already using that name as a variable. You may want to rename your variable to something else. (https://p5js.org/reference/p5/model)
{{filePath}}
{{width}} x {{height}}
Report Sketch
Oh, that naughty sketch! Please let us know what the issue is below.
Apply Template
Applying this template will reset your sketch and remove all your changes. Are you sure you would like to continue?
Report Sketch
Report Comment
Please confirm that you would like to report the comment below.
We will review your submission and take any actions necessary per our Community Guidelines. In addition to reporting this comment, you can also block the user to prevent any future interactions.
Please report comments only when necessary. Unnecessary or abusive use of this tool may result in your own account being suspended.
Are you sure you want to delete your sketch?
Any files uploaded will be deleted as well.
Delete Comment?
This will also delete all the replies to this comment.
Delete this tab? Any code in it will be deleted as well.
Select a collection to submit your sketch
We Need Your Support
Since 2008, OpenProcessing has provided tools for creative coders to learn, create, and share over a million open source projects in a friendly environment.
Niche websites like ours need your continued support for future development and maintenance, while keeping it an ad-free platform that respects your data and privacy!
Please consider subscribing below to show your support with a "Plus" badge on your profile and get access to many other features!
study20251028_hitsuji
3D- ambientLight
- ambientMaterial
- baseColorShader
- baseMaterialShader
- baseNormalShader
- baseStrokeShader
- camera
- createCamera
- createFilterShader
- createShader
- debugMode
- directionalLight
- emissiveMaterial
- frustum
- imageLight
- lightFalloff
- lights
- linePerspective
- loadShader
- metalness
- noDebugMode
- noLights
- normalMaterial
- orbitControl
- ortho
- panorama
- perspective
- pointLight
- resetShader
- setCamera
- shader
- shininess
- specularColor
- specularMaterial
- spotLight
- texture
- textureMode
- textureWrap
Color- alpha
- background
- beginClip
- blue
- brightness
- clear
- clip
- color
- colorMode
- endClip
- erase
- fill
- green
- hue
- lerpColor
- lightness
- noErase
- noFill
- noStroke
- paletteLerp
- red
- saturation
- stroke
Constants- ADD
- ALT
- ARROW
- AUTO
- AXES
- BACKSPACE
- BASELINE
- BEVEL
- BEZIER
- BLEND
- BLUR
- BOLD
- BOLDITALIC
- BOTTOM
- BURN
- CENTER
- CHAR
- CHORD
- CLAMP
- CLOSE
- CONTAIN
- CONTROL
- CORNER
- CORNERS
- COVER
- CROSS
- CURVE
- DARKEST
- DEGREES
- DELETE
- DIFFERENCE
- DILATE
- DODGE
- DOWN_ARROW
- ENTER
- ERODE
- ESCAPE
- EXCLUSION
- FALLBACK
- FILL
- FLAT
- FLOAT
- GRAY
- GRID
- HALF_FLOAT
- HALF_PI
- HAND
- HARD_LIGHT
- HSB
- HSL
- IMAGE
- IMMEDIATE
- INVERT
- ITALIC
- LABEL
- LANDSCAPE
- LEFT
- LEFT_ARROW
- LIGHTEST
- LINEAR
- LINES
- LINE_LOOP
- LINE_STRIP
- MIRROR
- MITER
- MOVE
- MULTIPLY
- NEAREST
- NORMAL
- OPAQUE
- OPEN
- OPTION
- OVERLAY
- P2D
- PI
- PIE
- POINTS
- PORTRAIT
- POSTERIZE
- PROJECT
- QUADRATIC
- QUADS
- QUAD_STRIP
- QUARTER_PI
- RADIANS
- RADIUS
- REMOVE
- REPEAT
- REPLACE
- RETURN
- RGB
- RGBA
- RIGHT
- RIGHT_ARROW
- ROUND
- SCREEN
- SHIFT
- SMOOTH
- SOFT_LIGHT
- SQUARE
- STROKE
- SUBTRACT
- TAB
- TAU
- TESS
- TEXT
- TEXTURE
- THRESHOLD
- TOP
- TRIANGLES
- TRIANGLE_FAN
- TRIANGLE_STRIP
- TWO_PI
- UNSIGNED_BYTE
- UNSIGNED_INT
- UP_ARROW
- VERSION
- WAIT
- WEBGL
- WEBGL2
- WORD
DOM- changed
- createA
- createAudio
- createButton
- createCapture
- createCheckbox
- createColorPicker
- createDiv
- createElement
- createFileInput
- createImg
- createInput
- createP
- createRadio
- createSelect
- createSlider
- createSpan
- createVideo
- input
- removeElements
- select
- selectAll
Data- append
- arrayCopy
- boolean
- byte
- char
- clearStorage
- concat
- createNumberDict
- createStringDict
- float
- getItem
- hex
- int
- join
- match
- matchAll
- nf
- nfc
- nfp
- nfs
- removeItem
- reverse
- shorten
- shuffle
- sort
- splice
- split
- splitTokens
- storeItem
- str
- subset
- trim
- unchar
- unhex
Environment- cursor
- deltaTime
- describe
- describeElement
- displayDensity
- displayHeight
- displayWidth
- focused
- frameCount
- frameRate
- fullscreen
- getTargetFrameRate
- getURL
- getURLParams
- getURLPath
- gridOutput
- height
- noCursor
- pixelDensity
- print
- textOutput
- webglVersion
- width
- windowHeight
- windowResized
- windowWidth
Events- accelerationX
- accelerationY
- accelerationZ
- deviceMoved
- deviceOrientation
- deviceShaken
- deviceTurned
- doubleClicked
- exitPointerLock
- key
- keyCode
- keyIsDown
- keyIsPressed
- keyPressed
- keyReleased
- keyTyped
- mouseButton
- mouseClicked
- mouseDragged
- mouseIsPressed
- mouseMoved
- mousePressed
- mouseReleased
- mouseWheel
- mouseX
- mouseY
- movedX
- movedY
- pAccelerationX
- pAccelerationY
- pAccelerationZ
- pRotationX
- pRotationY
- pRotationZ
- pmouseX
- pmouseY
- pwinMouseX
- pwinMouseY
- requestPointerLock
- rotationX
- rotationY
- rotationZ
- setMoveThreshold
- setShakeThreshold
- touchEnded
- touchMoved
- touchStarted
- touches
- turnAxis
- winMouseX
- winMouseY
Foundation- Array
- Boolean
- Number
- Object
- String
- class
- console
- for
- function
- if
- let
- while
IO- createWriter
- day
- hour
- httpDo
- httpGet
- httpPost
- loadBytes
- loadJSON
- loadStrings
- loadTable
- loadXML
- millis
- minute
- month
- save
- saveJSON
- saveStrings
- saveTable
- second
- year
Image- blend
- copy
- createImage
- filter
- get
- image
- imageMode
- loadImage
- loadPixels
- noTint
- pixels
- saveCanvas
- saveFrames
- saveGif
- set
- tint
- updatePixels
Math- abs
- acos
- angleMode
- asin
- atan
- atan2
- ceil
- constrain
- cos
- createVector
- degrees
- dist
- exp
- floor
- fract
- lerp
- log
- mag
- map
- max
- min
- noise
- noiseDetail
- noiseSeed
- norm
- pow
- radians
- random
- randomGaussian
- randomSeed
- round
- sin
- sq
- sqrt
- tan
Rendering- blendMode
- clearDepth
- createCanvas
- createFramebuffer
- createGraphics
- drawingContext
- noCanvas
- resizeCanvas
- setAttributes
Shape- arc
- beginContour
- beginGeometry
- beginShape
- bezier
- bezierDetail
- bezierPoint
- bezierTangent
- bezierVertex
- box
- buildGeometry
- circle
- cone
- createModel
- curve
- curveDetail
- curvePoint
- curveTangent
- curveTightness
- curveVertex
- cylinder
- ellipse
- ellipseMode
- ellipsoid
- endContour
- endGeometry
- endShape
- freeGeometry
- line
- loadModel
- model
- noSmooth
- normal
- plane
- point
- quad
- quadraticVertex
- rect
- rectMode
- smooth
- sphere
- square
- strokeCap
- strokeJoin
- strokeWeight
- torus
- triangle
- vertex
Structure- disableFriendlyErrors
- draw
- isLooping
- loop
- noLoop
- p5
- pop
- preload
- push
- redraw
- remove
- setup
Transform- applyMatrix
- resetMatrix
- rotate
- rotateX
- rotateY
- rotateZ
- scale
- shearX
- shearY
- translate
Typography- loadFont
- text
- textAlign
- textAscent
- textDescent
- textFont
- textLeading
- textSize
- textStyle
- textWidth
- textWrap
🌸 p5.js says: p5 had problems creating the global function "model", possibly because your code is already using that name as a variable. You may want to rename your variable to something else. (https://p5js.org/reference/p5/model)