- SERVICE_WORKER_PATH
- start_pwa_worker
- StarryNightGameOverScene
- StarryNightGameScene
- SETTINGS
- SETTINGS
- StarryNightLoadingScene
- STARRY_NIGHT_SETTINGS
- StarryNightStartScene
- gameConfig
- game
- PAINTING_OPTIONS
- ARTPAINTING
- vanGoghFaceFilter
- paintingOptionIdx
- setupButtons
- buildPaintingOption
- updatePaintingOption
- ready
- STATES
- compile_shader
- draw_search
- build_shaderProgram
- VanGoghFaceFilter
- JEEFACEFILTERAPI
- JEEFACEFILTERAPIGEN
Default Service Worker Path
Type: string
Start PWA Service Worker
service_worker_path
(optional, defaultSERVICE_WORKER_PATH
)
Meta
- since: 14 May 2020
- author: Teki Chan
Extends Phaser.Scene
Starry Night Game JS: Game Over Scene
The game over class of this game's scene
Meta
- since: 13 May 2020
- author: Teki Chan
Reset the game to the entry screen
Toggle Sound on or off
Extends Phaser.Scene
Starry Night Game JS: Game Content Scene
The main class of this game's scene
Meta
- since: 13 May 2020
- author: Teki Chan
When Update a Score
inc
any increased score
Place Clouds into the scene
addScore
any flag of adding a score as well or not
Flap Mr. Moon to fly up
Get right most cloud object
When Mr. Moon hits a cloud or flys over the borders, then dies
Toggle Sound on or off
Settings of Loading Scene
Face Filter Settings
Extends Phaser.Scene
Starry Night Game JS: Loading Scene
Starry Night Loading Scene
Meta
- since: 13 May 2020
- author: Teki Chan
Update Progress Bar by percentage
percentage
any
When the progress bar completed
Starry Night Shared Settings
Meta
- since: 13 May 2020
- author: Teki Chan
Extends Phaser.Scene
Starry Night Game JS: Start Scene
The starting class of this game's scene
Meta
- since: 13 May 2020
- author: Teki Chan
Start to enter the game and play
Turn to Camera Screen
Toggle Sound on or off
Show Detail
Phaser Game Config
Starry Night Game JS
Meta
- since: 13 May 2020
- author: Teki Chan
Painting Options
Painting Setting
Face Filter declaration
Index of Painting Options
Setup buttons in the screen
Build Painting with the current option index
Update Painting with the current option index
Van Gogh Camera JS
Process when jQuery is ready
Meta
- since: 13 May 2020
- author: Teki Chan
possible states of the app. ENUM equivalent
compile a shader
GL
any the WebGL contextsource
anytype
anytypeString
any
draw in search mode
GL
any the WebGL contextFFSPECS
anySHPS
anydetectState
any
helper function to build the shader program
GL
any the WebGL contextshaderVertexSource
any Shader Vertex SourceshaderFragmentSource
any Shader Fragment Sourceid
any Shader Source ID
- **See: https://jeeliz.com/ **
- **See: https://github.com/jeeliz/jeelizFaceFilter **
- **See: https://github.com/jeeliz/jeelizFaceFilter/tree/master/demos/faceReplacement/image **
Van Gogh Face Filter
Logics for processing human and painting faces.
Acknowledgement of Jeeliz Face Filter Demo
settings
any Face detection settingartPainting
any Painting settingdoMartPaintingContainer
any Container ID of PaintingfaceCanvasId
any Canvas ID of Face
Meta
- since: 13 May 2020
- author: Teki Chan
Check if label is loaded
label
any Label
Main program of this class
Start to run the program
called both at start (start()) and when user change the art painting
detectState
any Detection state
Create Textures
Build mask on Painting
detectState
any Detection statecallback
any Callback function
Build Shader Programs
Reset to Video
Position User Crop Canvas
draw final render
detectState
any Detection state
Callback Track
detectState
any Detection state
Save a final image
_event
any Event object
Jeeliz Face Filter - https://github.com/jeeliz/jeelizFaceFilter
Copyright 2018 Jeeliz ( https://jeeliz.com )
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Jeeliz Face Filter - https://github.com/jeeliz/jeelizFaceFilter
Copyright 2018 Jeeliz ( https://jeeliz.com )
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.