diff --git a/index.html b/index.html index 7f41471..6904eae 100644 --- a/index.html +++ b/index.html @@ -33,38 +33,48 @@ - +
- +
- +

Hello everyone!

My name is Federico Santamorena, I'm a - C/C++ developer.

-

I work at Activision-Blizzard @ - King.com in Malmö (Sweden) and then I - waste my free time for some - open source thingies and projects, here is the most relevant stuff:

+ C/C++ developer and a #programmingsocks🧦 wearer.

+

I work in Activision-Blizzard @ + King.com in Malmö + 🇸🇪 and then I waste my free time for some open source thingies and projects, here is the + most relevant stuff:

- - +
+ + +
@@ -79,7 +89,7 @@

Match 3

-

Game demo written in modern C++17, SDL2, with as much functional programming as possible +

I shoved inside a game demo written in modern C++17 and SDL2 as much functional programming as possible as a proof of concept https://github.com/yatima1460/Match3 @@ -88,43 +98,14 @@

-
- -

Gestalt Engine

-
- -

My own engine written in C and C++, SDL2, OpenGL 4.x with forward rendering and shadow mapping. - Not complete yet. - -

- -
-
- -
- -

A*

-
- -

Very fast C++17 A* pathfinding implementation taking branch prediction and cache-locality into - account and using better heuristics like cross product - - https://github.com/yatima1460/AStar -

- -
- -
- -

CGLMath

-

I hate glm syntax so I wrote a C library for OpenGL math (Quaternions, Matrices, Vectors...) - aimed at readability +

I hate glm with a passion so I wrote a simpler C11 library for OpenGL math: Quaternions, Matrices, + Vectors... + + +

+ + + + + + + - \ No newline at end of file diff --git a/main.css b/main.css index bb1f350..880ddb1 100644 --- a/main.css +++ b/main.css @@ -3,9 +3,19 @@ text-rendering: geometricPrecision } +h1 { + padding-bottom: 0.25em; + padding-top: 1em; +} + +h2 { + padding-top: 0.5em; + padding-left: 0.1em; +} + a { color: #c4298d; - text-decoration: none; + text-decoration: none; word-break: break-word; } @@ -17,8 +27,6 @@ html { width: 100%; } - - @media (orientation: landscape) { body { width: 40%; @@ -28,266 +36,140 @@ html { font-family: 'Roboto', sans-serif; word-wrap: break-word; } - - /* .user_profile_cap { - width: 100%; - height: auto 13px; - border: 1px solid #DDD; - border-top: 0; - border-radius: 5px; - border-top-left-radius: 0; - border-top-right-radius: 0; - overflow: hidden; - } - - .user_profile_headline > img { - border: 1px solid #EEEEEE; - width: 128px; - height: 128px; - float: left; - margin: -90px 10px 0 0; - position: relative; - z-index: 111; - background-color: white; - } - - .user_profile_cover > img { - width: 100%; - border-top-left-radius: 5px; - border-top-right-radius: 5px; - border-top-left-radius: 0; - border-top-right-radius: 0; - } - - .user_profile_headline h1 { - margin: 0; - padding: 0.5em; - font-size: 2em; - font-weight: bold; - display: block; - } - */ - - footer { - display: flex; - justify-content: center; - width: 100%; - } - - .footer-icons { - border-top: solid 2px #d9d9d9; - width: 75%; - display: flex; - flex-direction: row; - justify-content: center; - } - - .footer-icons > a { - padding: 1em; - } } -@media (orientation: portrait) { - body { - width: 100%; - font-size: 1rem; - line-height: 1.5rem; - margin: auto; - font-family: 'Roboto', sans-serif; - word-wrap: break-word; - } - - /* .user_profile_headline h1 { - margin: 0; - padding: 0.25em; - font-size: 1.25em; - font-weight: bold; - display: block; - padding-top: 0; - } - - - - .user_profile_cap { - width: 100%; - height: auto 13px; - border-bottom: 1px solid #DDD; - overflow: hidden; - } - - .user_profile_headline > img { - border: 1px solid #EEEEEE; - width: 64px; - height: 64px; - float: left; - margin: -40px 10px 0 0; - position: relative; - z-index: 111; - background-color: white; - } - - .user_profile_cover > img { - width: 100%; - border-top-left-radius: 0px; - border-top-right-radius: 0px; - } */ - - .content { - padding: 0.5em; - } - - footer { - display: flex; - justify-content: center; - width: 100%; - } - - .footer-icons { - border-top: solid 2px #d9d9d9; - width: 85%; - display: flex; - flex-direction: row; - justify-content: center; - } - - .footer-icons > a { - padding: 0.6em; - } - - -} - - -.user_profile_headline span { - - font-weight: bold; - -} - -.trans-flag { - max-width: 1.25em; - margin-right: 0.25em; - float: left; -} - -.cover { - width: 100%; - border-radius: 0.5em; -} - -.user_profile_headline { - padding-left: 10px; - font-size: 16px; -} - -.project-links { - display: flex; - flex-direction: column; - align-items: baseline; -} - -h1 { - padding-bottom: 0.25em; - padding-top: 1em; -} - -h2 { - padding-top: 0.5em; -} - -h3 { - padding: 0; - margin: 0; - padding-top: 1em; - padding-bottom: 0.25em; -} - -li { - padding-bottom: 0.5em; -} - -body::after { - display: block; - content: "Copyright© 2020 Federico Santamorena (yatima1460) - All Rights Reserved "; - color: #666666; - text-align: center; -} - - -@media (orientation: portrait) { - body::after { - font-size: 0.75em; - } - -} - -.introduction { +.introduction { display: flex; flex-direction: row; } .presentation { - width: 75%; + width: 80%; } +/* .avatar { + + + + + + + + + + background: url( "avatar.webp") no-repeat; + background-size: contain; + object-fit: contain; + width: 100%; + height: 0; + padding-top: 100%; + /* height: auto; */ + +/* } */ + +.content { + margin-top: 2em; +} .avatar-zone { - - width: 25%; - display: flex; + width: 40%; + display: flex; flex-direction: column; - - margin-top: 2em; + margin-top: 1em; margin-bottom: 1em; + margin-left: 1em; + + text-align: center; + justify-content: center; + } +.avatar-square { + + position: relative; + box-shadow: 1px 4px 4px 1px #ccc; + border-radius: 0.5em; + margin-bottom: 1em; + width: 80%; + height: 100%; + align-self: center; + +} -.avatar { - - - width: 100%; - box-shadow: 1px 4px 4px 1px #ccc; - margin-bottom: 1em; - object-fit: contain; - border-radius: 0.5em; +.avatar-real { + width: 100%; + height: 100%; + position: relative; + border-radius: 0.5em; + /* object-fit: contain; */ +} + +.avatar-trans-flag { + width: 100%; + position: absolute; + opacity: 0; + /* display: none; */ + top: 0; + left: 0; + border-radius: 0.5em; + /* object-fit: contain; */ + height: 100%; +} + +/* .avatar:hover{ + /* display: none; */ + +/* no-repeat; */ + +/* background-image: url( + "trans-flag.webp" + ); +} */ + +.avatar-trans-flag:hover { + /* display: none; */ + opacity: 0.75; } .social-icons { display: flex; flex-wrap: wrap; flex-direction: row; - box-shadow: 1px 4px 4px 1px #ccc; - justify-content: center; + box-shadow: 1px 4px 4px 1px #ccc; text-align: center; - vertical-align: middle; - align-items: center; + justify-content: center; border-radius: 0.5em; + border: 1px #eee solid; + +} + +.social-icons a { + /* width: 33.33%; */ + /* object-fit: contain; */ + /* text-align: center; */ + /* margin: 0.1em; */ + width: 12%; + height: 100%; + margin-right: 0.3em; + margin-left: 0.3em; + margin-top: 0.5em; +} + +.social-icons img { + /* object-fit: contain; */ + /* text-align: center; */ + + } -.social-icons a{ - width: 25%; - /* object-fit: contain; */ - /* text-align: center; */ - /* margin: 0.1em; */ -} - -.social-icons img{ - - /* object-fit: contain; */ - /* text-align: center; */ - /* margin: 0.1em; */ -} - - - .project { display: flex; flex-direction: column; border: 1px #eee solid; - box-shadow: 1px 4px 4px 1px #ccc; + box-shadow: 1px 4px 4px 1px #ccc; margin-bottom: 1em; padding-left: 1em; padding-bottom: 1em; @@ -298,37 +180,39 @@ body::after { .project div { display: flex; flex-direction: row; - } -.project h2 { - -} +.project h2 {} - - - -.project img { +.project img { width: 20%; /* height: 20%; */ - box-shadow: 1px 4px 4px 1px #ccc; - object-fit: contain; - border-radius: 0.5em; + box-shadow: 1px 4px 4px 1px #ccc; + object-fit: cover; + border-radius: 0.5em; + + border-top: 1px #eee solid; /* border: 1px solid #ccc; */ /* box-shadow: 0px 4px 5px #ccc; */ } .project p { - padding-left: 1em; - + padding-left: 1.5em; } - -.project a { +.project a { display: block; padding: 1em; /* box-shadow: 0px 4px 5px #ccc; */ } +body { + margin-bottom: 1em; +} - +body::after { + display: block; + content: "Copyright© 2020 Federico Santamorena (yatima1460) - All Rights Reserved"; + color: #666666; + text-align: center; +} \ No newline at end of file diff --git a/mandelbrot.png b/mandelbrot.png new file mode 100644 index 0000000..d26003e Binary files /dev/null and b/mandelbrot.png differ diff --git a/old_main.css b/old_main.css new file mode 100644 index 0000000..21774fb --- /dev/null +++ b/old_main.css @@ -0,0 +1,173 @@ +@media (orientation: landscape) { + body { + width: 40%; + font-size: 1rem; + line-height: 1.5rem; + margin: auto; + font-family: 'Roboto', sans-serif; + word-wrap: break-word; + } + /* .user_profile_cap { + width: 100%; + height: auto 13px; + border: 1px solid #DDD; + border-top: 0; + border-radius: 5px; + border-top-left-radius: 0; + border-top-right-radius: 0; + overflow: hidden; + } + + .user_profile_headline > img { + border: 1px solid #EEEEEE; + width: 128px; + height: 128px; + float: left; + margin: -90px 10px 0 0; + position: relative; + z-index: 111; + background-color: white; + } + + .user_profile_cover > img { + width: 100%; + border-top-left-radius: 5px; + border-top-right-radius: 5px; + border-top-left-radius: 0; + border-top-right-radius: 0; + } + + .user_profile_headline h1 { + margin: 0; + padding: 0.5em; + font-size: 2em; + font-weight: bold; + display: block; + } + */ + footer { + display: flex; + justify-content: center; + width: 100%; + } + .footer-icons { + border-top: solid 2px #d9d9d9; + width: 75%; + display: flex; + flex-direction: row; + justify-content: center; + } + .footer-icons>a { + padding: 1em; + } +} + +@media (orientation: portrait) { + body { + width: 100%; + font-size: 1rem; + line-height: 1.5rem; + margin: auto; + font-family: 'Roboto', sans-serif; + word-wrap: break-word; + } + /* .user_profile_headline h1 { + margin: 0; + padding: 0.25em; + font-size: 1.25em; + font-weight: bold; + display: block; + padding-top: 0; + } + + + + .user_profile_cap { + width: 100%; + height: auto 13px; + border-bottom: 1px solid #DDD; + overflow: hidden; + } + + .user_profile_headline > img { + border: 1px solid #EEEEEE; + width: 64px; + height: 64px; + float: left; + margin: -40px 10px 0 0; + position: relative; + z-index: 111; + background-color: white; + } + + .user_profile_cover > img { + width: 100%; + border-top-left-radius: 0px; + border-top-right-radius: 0px; + } */ + .content { + padding: 0.5em; + } + footer { + display: flex; + justify-content: center; + width: 100%; + } + .footer-icons { + border-top: solid 2px #d9d9d9; + width: 85%; + display: flex; + flex-direction: row; + justify-content: center; + } + .footer-icons>a { + padding: 0.6em; + } +} + +.user_profile_headline span { + font-weight: bold; +} + +.trans-flag { + max-width: 1.25em; + margin-right: 0.25em; + float: left; +} + +.cover { + width: 100%; + border-radius: 0.5em; +} + +.user_profile_headline { + padding-left: 10px; + font-size: 16px; +} + +.project-links { + display: flex; + flex-direction: column; + align-items: baseline; +} + + + +h3 { + padding: 0; + margin: 0; + padding-top: 1em; + padding-bottom: 0.25em; +} + +li { + padding-bottom: 0.5em; +} + + + +@media (orientation: portrait) { + body::after { + font-size: 0.75em; + } +} \ No newline at end of file diff --git a/trans-flag.webp b/trans-flag.webp new file mode 100644 index 0000000..00c8794 Binary files /dev/null and b/trans-flag.webp differ