JavaScript and Image-Filtering

JavaScript and Image-Filtering

The following short example shows how script tags can be applyed to images in order to create a simple image-filtering effect. In LiaScript, the script tag is a reimagined version of a JavaScript-component that has a lifetime, can be combined with input-tags and has an output as well. Additionally, scripts can be stiched together by an execution graph, which is defined by the output of the script-tags. The script is executed in the browser and can be used to manipulate the image in real-time.

For more information of how to use script-tags, visit the documentation:

JavaScript or JS-Components

Example

Related Posts

Data and Analytics for Research Training (DART)

The DART program offers free, open-source educational resources aimed at empowering working biomedical researchers with data science skills to enhance their work.

Read More

LiaScript: a domain-specific-language for interactive online courses

This is the first paper published about LiaScript, which was presented at the International Association for Development of the Information Society (IADIS) International Conference on e-Learning 2019 in Porto.

Read More

Executable Code

How to make your Markdown code-snippets editable and executable? Our solution, just attach a script-tag to it that defines how the input or inputs should be evaluated…

Read More