Using HTML, SVG and JavaScript to create a design inspired by Victor Vasarely's Vonal works
HTML-код
- Опубликовано: 21 авг 2024
- In this video we look an an HTML page with an empty SVG (scalable vector graphics) that is populated by JavaScript to generate a design that is based on Victor Vasarely's Vonal series. Using a HSL Hue-Saturation-Lightness color model, a set of rectangles (rect elements) are created and added. The hue varied in time and the lightness varied from rectangle to rectangle. The sizes and positions of the rectangles also varied in time. Horizontally, the values changed linearly; while vertically the values changed logarithmically.
www1.lasalle.edu/~blum/c343wks/Vasarely_Vonal.html