Refactor portfolio and fix grammar

This commit is contained in:
schmelczerandras 2020-11-26 17:15:57 +01:00
parent 86ddc3d0d8
commit 59a0afbac7
37 changed files with 546 additions and 451 deletions

41
src/data/sdf2d.ts Normal file
View file

@ -0,0 +1,41 @@
import sdf2dJpeg from '../static/media/sdf2d.png?format=jpg';
import sdf2dWebP from '../static/media/sdf2d.png?format=webp';
import { Preview } from '../page/basics/preview/preview';
import { GitHub, Open, NPM } from './shared';
export const sdf2dTimelineElement = {
title: `2D ray tracing`,
date: `2020 Autumn`,
figure: new Preview(
sdf2dWebP,
sdf2dJpeg,
'https://sdf2d.schmelczer.dev',
'A webpage showcasing the SDF-2D project.'
),
description: `
I created the SDF-2D library for efficiently rendering 2D scenes using ray tracing.
My solution relies on signed distance fields (SDF-s), it supports both WebGL and WebGL2,
and is an easily reusable and extendible NPM package.
`,
more: [
`
A multitude of optimisations were needed to achieve real-time performance even on low-end mobile devices.
These include deferred shading, tile-based rendering, and dynamic shader generation to eliminate unnecessary
instructions.
`,
`
The result is a reusable library written in TypeScript with a subjectively simple and elegant API.
For more information please check out the GitHub repository or the NPM package itself. Or simply enjoy the
mesmerising demo scenes.
`,
`
Creating this library package is also covered in my thesis (available above).
`,
],
links: [
new GitHub('https://github.com/schmelczerandras/sdf-2d'),
new NPM('https://www.npmjs.com/package/sdf-2d'),
new Open('https://sdf2d.schmelczer.dev'),
],
};