Ruby Sketch is a Ruby library that allows developers to create and manipulate graphical user interfaces (GUIs) using a simple and intuitive API. It provides a easy-to-use interface for creating sketches, animations, and interactive applications.

noise = RubyNoise::Perlin.new particles = []

sketch = RubySketch.new do rect 100, 100, 200, 200 fill 255, 0, 0 ellipse 200, 200, 100, 100 end

require 'ruby-sketch'

Ruby2D for real-time, SVG + ChunkyPNG for static art.

def draw_circle(x, y, radius, depth) return if depth > 5 || radius < 2 Circle.new(x: x, y: y, radius: radius, color: "hsl(#depth * 60, 100%, 50%)") draw_circle(x + radius/2, y, radius/2, depth + 1) draw_circle(x - radius/2, y, radius/2, depth + 1) draw_circle(x, y + radius/2, radius/2, depth + 1) end

@x = 0 @square = Square.new(x: 0, y: 200, size: 50, color: 'red')

: These are the flagship products of RubySketch. PlusSpec is a BIM tool for SketchUp that automates 3D modeling, quantity takeoff, and estimating.