1. Home
  2. /
  3. Velato
  4. /
  5. Hello World in Velato

Hello World in Velato - Velato Typing CST Test

Loading…

Hello World in Velato — Velato Code

A Velato program that prints 'Hello World'. It is encoded as a MIDI file where the sequence of notes corresponds to the ASCII codes of the characters.

[MIDI-BASED] The 'Hello World' program is represented as a sequence of notes. For example, middle C (C4) might represent an instruction prefix, with subsequent notes encoding ASCII values for 'H', 'e', 'l', 'l', 'o', etc. The actual program is a .mid file rather than plain text.

Velato Language Guide

Velato is a Rust library (crate) that parses and renders Vello-compatible graphics from Lottie JSON animation files, enabling vector animations in Rust applications.

Primary Use Cases

  • ▸Rendering Lottie animations in Rust desktop or cross‑platform apps
  • ▸Embedding vector-based animations in Rust game UIs
  • ▸Interactive UI animations for Rust GUI applications
  • ▸Converting Lottie projects to native Rust-based rendering pipelines
  • ▸Prototyping or experimenting with animated graphics in Rust + Vello

Notable Features

  • ▸Parse full Lottie JSON into Rust structures
  • ▸Render using Vello’s GPU-accelerated graphics backend
  • ▸Support for rendering to desktop (with winit) and Web (via wasm + WebGPU when available)
  • ▸Dual-license (Apache-2.0 OR MIT), friendly for open‑source and commercial use. :contentReference[oaicite:5]{index=5}
  • ▸Integration with Vello scene graph APIs for further drawing or layering

Origin & Creator

Velato is an open‑source Rust crate maintained by the community; its repository shows incremental releases (e.g. version 0.6.0 in May 2025) targeting Lottie compatibility. :contentReference[oaicite:4]{index=4}

Industrial Note

Velato is used by Rust developers who need to integrate high-quality vector animations (from Lottie) into Rust applications or games - especially those built on Vello - without relying on JavaScript or external runtime, giving full control and performance in a system-level language.

More Velato Typing Exercises

Simple Addition in VelatoLoop Example in VelatoConditional Branch in VelatoString Output in VelatoMultiplication in VelatoDecrement Example in VelatoNested Loop Example in VelatoArray Handling in VelatoFunction Call Example in Velato

Practice Other Languages

CReactPythonC++RustTypeScriptKotlinPHPJavaC#RubyMqlCqlN1qlCypher