Skip to content

Instantly share code, notes, and snippets.

@k-okada
Last active August 3, 2025 07:51
Show Gist options
  • Save k-okada/b3bea4afe08086af243bc1417d2bb3d5 to your computer and use it in GitHub Desktop.
Save k-okada/b3bea4afe08086af243bc1417d2bb3d5 to your computer and use it in GitHub Desktop.
names: [happy, blink, normal]
blink:
path_outline: "/outline.jpg"
path_iris: "/iris.jpg"
path_pupil: "/pupil.jpg"
path_reflex: "/reflex.jpg"
path_upperlid: "/upperlid.jpg"
iris_zoom: [1.0, 1.0, 1.0, 1.0, 1.4, 1.0, 1.0, 1.0]
upperlid_default_pos_x: 75
upperlid_default_pos_y: 7
upperlid_default_theta: 0
upperlid_position: [9, 9, 9, 9, 0, 130, 0, 130]
normal:
path_outline: "/outline.jpg"
path_iris: "/iris.jpg"
path_pupil: "/pupil.jpg"
path_reflex: "/reflex.jpg"
path_upperlid: "/upperlid.jpg"
upperlid_default_pos_x: 75
upperlid_default_pos_y: 7
upperlid_default_theta: 0
upperlid_position: [9]
happy:
path_outline: "/outline.jpg"
path_iris: "/white.jpg"
path_pupil: "/white.jpg"
path_reflex: "/white.jpg"
path_upperlid: "/reflex_happy.jpg"
#
upperlid_position: [130, 131, 132, 133, 134, 135]
upperlid_default_pos_x: 75
upperlid_default_pos_y: 7
upperlid_default_theta: 0
upperlid_zoom: [1.0, 1.2, 1.4, 1.2]
#
path_extra1: "/krmt_reflex_shine1.png"
extra1_default_pos_x: 75
extra1_default_pos_y: 75
extra1_default_theta: 0
extra1_position_x: [ 0, 20, 40, 20, 0, -20, -40, -20]
extra1_position_y: [ 40, 20, 0, -20, -40, -20, 0, 20]
extra1_rotation_theta: [ 0, 40, 80, 40, 0, -40, -80, -40]
extra1_zoom: [ 1.0, 1.1, 1.2, 1.3, 1.4, 1.2, 1.0, 0.8, 0.7, 0.8, 0.9] # if you have extra1_zoom, you need ex\
tra2_zoom as well
path_extra2: "/krmt_reflex_heart.png"
extra2_position_x: [ 0, 20, 0, -20]
extra2_position_y: [ 0, 10, 0, -10]
extra2_rotation_theta: [ 0, -40, -80, -40, 0, 40, 80, 40]
extra2_zoom: [1.0, 1.2, 1.4, 1.6, 1.8, 2.0, 1.5, 1.0, 0.5]
extra2_default_pos_x: 75
extra2_default_pos_y: 75
extra2_default_theta: 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment