Fresnel

This is an old revision of Fresnel, edited by Mattias2 at . The current revision is 146802.

/* Goals */

Overview

Fresnel is a visual component library based on CSS and custom drawn components. It is in an early stage of development.

git repo: https://gitlab.com/freepascal.org/lazarus/fresnel

Requirements: fpc 3.2.2, for skia: fpc 3.3.1

Platforms

Fresnel runs natively on Linux/gtk3 and Windows using Skia and on Webassembly in the browser. It is planned to write backends for other platforms as well.

Fresnel forms can also run inside an LCL application. This allows to migrate LCL forms one by one. So, Fresnel runs everywhere the LCL runs. Skia can be used as renderer instead of the LCL canvas.

Finally there is a LCL control, allowing to embed a Fresnel viewport as a control on a LCL form.

Documentation

Fresnel CSS Algorithm

What is working?

As Fresnel is still in an early pre-alpha stage, a few things do work already:

Skia

Skia is a static lib. Add your fpc linker search path -FL: 
/Users/USERNAME/pathtoyour/fresnel/bin/Binary/Static/OSXARM64
For the static library add to the linker search path -FL:
/Users/USERNAME/pathtoyour/fresnel/bin/Binary/Static/OSX64

Goals

The main goals are at the moment:

Roadmap