Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 1.54 KB

README.md

File metadata and controls

33 lines (22 loc) · 1.54 KB

CharCloud

Build status Quality Gate

CharCloud is a simple demo project which generates HTML content based on provided plain text input. Generated HTML uses style in a way that every letter's height is inversely proportional to letter frequency in the particular content.

Known available approaches

Generated HTML with individual letters styling

  • It's easy and quick for implementation.
  • Fits only for small inputs - larger input consumes HW resources for HTML parsing.
  • Highly inefficient data bandwidth - serialized output is too large if we consider ratio of serialized styling to real content amount.

Generated both HTML and dedicated font

  • Font could be generated and dedicated for the specific input.
  • Efficient bandwidth usage.
  • Requires suitaible font format selection, font structure knowledge and dynamic font generating during input processing.

CharCloud

  • CharCloud is implemented as Maven project for Java platform.
  • Generated output is HTML and CSS.
  • Individual letters styling approach was chosen for this demo.

Initial setup and launch

  • There is no external dependencies except Maven and Java.
  • Produced output is generated into root folder.
  • Tests and generator with sample scenario can be started via 'mvn test'.