Using HTML, SVG, and JavaScript to code a design inspired by Victor Vasarely's Beta
HTML-код
- Опубликовано: 21 авг 2024
- In this video we start with an HTML page with an empty SVG (scalable vector graphics) element which is then populated by JavaScript. The design generated is based on the work Beta by Victor Vasarely. The code adds a sequence of rect (rectangle) elements which form a set of concentric squares. The width of the rect's stroke varies. Adding some thick lines give rise to a circular shape. The JavaScript varies the color's hue in time. In addition the radius of the circular form varies in time.
www1.lasalle.edu/~blum/c343wks/Vasarely_Beta.html