Better gifs

This commit is contained in:
Joseph Ferano 2023-08-16 16:46:40 +07:00
parent 17a26f5498
commit 0c87f0706b
10 changed files with 9 additions and 8 deletions

View File

@ -11,10 +11,10 @@ language.
** Showcase
[[file:./media/p2q5.gif]]
[[file:./media/p2q9.gif]]
[[file:./media/p3q5.gif]]
[[file:./media/p8q9.gif]]
[[file:./media/red-p2q5.gif]]
[[file:./media/blue-p3q5.gif]]
[[file:./media/green-p2q9.gif]]
[[file:./media/yellow-p8q9.gif]]
** Keybindings

View File

@ -101,7 +101,7 @@ view model =
, WebGL.toHtml
[ width model.winSize.width
, height model.winSize.height
, style [ ( "display" , "block") , ( "background" , "black" ) ] ]
, style [ ( "display" , "block") , ( "background" , "#151515" ) ] ]
([ WebGL.entity
diffuseVS
diffuseFS
@ -118,9 +118,10 @@ view model =
(Mat4.makeRotate (model.time * 0.9) (vec3 1 1 1 ) )
-- (Mat4.makeRotate (pi) (vec3 0.3 0.5 1 ) )
-- Mat4.identity
(colorToVec3 Color.red)
-- (colorToVec3 Color.darkGrey)
-- (colorToVec3 Color.white)
-- (colorToVec3 Color.red)
(colorToVec3 Color.green)
-- (colorToVec3 Color.blue)
-- (colorToVec3 Color.yellow)
(vec3 1 1 1)
(vec3 1 1 1)
(vec3 1 1 1)

BIN
media/blue-p3q5.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 691 KiB

BIN
media/green-p2q9.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 906 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 602 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 831 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 841 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 915 KiB

BIN
media/red-p2q5.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 602 KiB

BIN
media/yellow-p8q9.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 850 KiB