Rust 2021 Edition.
A library: Given a list of words and weight produce a image like one of the examples below. The size of words in the cloud is determined by the weight. A integer between 1 and 10.
It in a early development stage.
Can be found in the github repository associated with this crate.
Description |
examples/blueprint
Generates a world cloud based on a number of (word, weight) pairs selected at random. As a confidence building exercise each block is displayed as a rectangle with the two definition points show as circles
|
|
examples/radial
The library allow the definition of bounding rectangle limiting the placement of new text block.
For example, this allow large text blocks to constrained to a central region while small text blocks can be placed over the full page.
|
|
examples/generator
A simple tauri app to generate SVG images
The user inputs (word, weight) pairs for display. A slide allow the overall size of the test blocks to be set. Various colour gradients can be selected from a pull down menu.
It is in an early stage of development.
|
|