canvas-lang
  • Welcome to canvas-lang 🎨
  • Getting Started
    • Quickstart
  • Basics
    • Language Basics!
    • Examples
    • Commands
    • Supported Colors
  • Contribute ❤️
Powered by GitBook
On this page

Welcome to canvas-lang 🎨

NextQuickstart

Last updated 2 months ago

Create Animated , Colorful ASCII-ART right in your terminals write few line .canvas code & get your desired ascii art !

example2.canvas


canvas {
  background "black";
  rainbow "Welcome to CanvasScript!" at (5, 5) duration 200;
  text "A simple graphics language" at (5, 15) size 8 color "cyan";
}

example1.canvas


canvas {
  background "white";
  circle at (10, 10) radius 5 fill "blue";
  text "Hello World" at (0, 20) size 10 color "green";
  rect at (20, 5) width 10 height 7 fill "red";
  line from (0, 0) to (30, 15) color "purple";
}

ascii art in 2 line of code!
.canvas file in action!
example #2
example #1