Skip to main content
  • Home
  • Development
  • Documentation
  • Donate
  • Operational login
  • Browse the archive

swh logo
SoftwareHeritage
Software
Heritage
Archive
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

swh:1:snp:e0709176be0f75f889c92d5bf3c708601dd371a5
  • Code
  • Branches (1)
  • Releases (0)
    • Branches
    • Releases
    • HEAD
    • refs/heads/main
    No releases to show
  • cb9187d
  • /
  • README.md
Raw File Download
Permalinks

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • content
  • directory
  • revision
  • snapshot
content badge Iframe embedding
swh:1:cnt:92981c6bf18e78266e13ffe1886957d55564d09c
directory badge Iframe embedding
swh:1:dir:cb9187d2b0589a2aab4ebc94781e690c18c7a26e
revision badge
swh:1:rev:a26bd38e4abcbfd6bf58e9a5fa424d9ceb959960
snapshot badge
swh:1:snp:e0709176be0f75f889c92d5bf3c708601dd371a5
Citations

This interface enables to generate software citations, provided that the root directory of browsed objects contains a citation.cff or codemeta.json file.
Select below a type of object currently browsed in order to generate citations for them.

  • content
  • directory
  • revision
  • snapshot
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Tip revision: a26bd38e4abcbfd6bf58e9a5fa424d9ceb959960 authored by Sylvain Thery on 02 December 2022, 14:10:09 UTC
update README
Tip revision: a26bd38
README.md
# Color-mapped noise vector fields for generating procedural micro-patterns

Interactive WebGL demonstration code of article
[Color-mapped noise vector fields for generating procedural micro-patterns](http://igg.unistra.fr/People/grenier/micro-patterns/)
Presented at [Pacific Graphic 2022](https://pg2022.org/)



# Description

The software is a WebGL implementation of our real-time generation and
filtering of structured procedural micro-patterns. After loading, the
main part of the screen show different things: the rendered texture on a
plan in the background and input data (noises and colormap) in the
foreground.


# Graphic interface

On the left, the interactive options are the following:
- "Choose noise/colormap"
     * list: list of the possible choice of patterns;
     * "show" button: radio button to show/hide the input noises and the
color-map used;
- "Scale texture coordinate": modify the scale of the patterns;
- "Animation"
     * "Reset": reset button to withdraw the animations;
     * "Rotation": animating the textured plan with a rotation around z
axis
     * "Translation_U": animating the textured plan with a translation
along u axis
     * "Translation_V": animating the textured plan with a translation
along v axis
- "Aniso": control the anisotropy of the filtering footprint;
- "Render": choose to render either the patterns, the x noise, or the y
noise;
- "Camera": different points of view for the scene;


# Requirement

As it is a WebGL implementation, it runs on every operating system. It
just needs a compatible web browser (Microsoft Edge, Firefox, Google
Chrome or Safari for example) and a live server to run
(the Live Server extension on Visual Studio Code or local webserver launch with `python3 -m http.server`)

It should run on any configuration, but of course a discrete graphic GPU (with dedicated memory) will provide you better performance


# Reproduce Figure

The final figure of the article (Figure 15) where obtain by taking
screenshots of the rendering without changing the parameters (only
hiding the input data and the graphic interface by clicking on the top
left of the web page).

back to top

Software Heritage — Copyright (C) 2015–2025, The Software Heritage developers. License: GNU AGPLv3+.
The source code of Software Heritage itself is available on our development forge.
The source code files archived by Software Heritage are available under their own copyright and licenses.
Terms of use: Archive access, API— Contact— JavaScript license information— Web API