| Crates.io | wassily-effects |
| lib.rs | wassily-effects |
| version | 0.2.0 |
| created_at | 2025-07-15 22:21:08.440671+00 |
| updated_at | 2025-07-15 22:21:08.440671+00 |
| description | Visual effects and procedural textures for wassily - a generative art library |
| homepage | https://github.com/jeffreyrosenbluth/wassily/ |
| repository | https://github.com/jeffreyrosenbluth/wassily/ |
| max_upload_size | |
| id | 1754191 |
| size | 66,357 |
Visual effects and procedural textures for the wassily generative art library.
This crate provides tools for creating visual effects, procedural textures, and advanced rendering techniques essential for adding polish and artistic flair to generative art projects.
use wassily_effects::*;
use wassily_core::*;
// Create film grain effect
let grain = Grain::new(800, 600, 0.01, 0.5);
let mut canvas = Canvas::new(800, 600);
canvas.fill(*BLUE);
grain.canvas_grain(&mut canvas);
// Generate low-discrepancy points for stippling
let points = halton_2d(1000, 800.0, 600.0);
for point in points {
Shape::new()
.circle(point, 2.0)
.fill_color(*BLACK)
.draw(&mut canvas);
}
// Create procedural texture
let texture = marble(256, 256, *BEIGE, *BROWN, 0.02, 42);
This crate is part of the wassily ecosystem. For the complete generative art toolkit, use the main wassily crate which re-exports all functionality.
Licensed under either of Apache License, Version 2.0 or MIT license at your option.