STEAM & Digital Art Platform

CREATIVE CODING: Create Music & Art with Code!

A Next-Generation Learning Experience Combining Algorithmic Thinking with Imagination

Creative coding uses computer programming not merely as a technical problem-solving tool, but as an expressive medium for producing music, visual art, and design. With Tospaa, children write code to compose their own songs and design pixel art masterpieces!

Tospaa Creative Coding Mascot
Our Pedagogical Approach

What is Creative Coding and Why Does It Matter?

In traditional coding education, students often work toward a single predetermined right answer. Creative Coding is open-ended; it empowers children to use loops, conditionals, coordinates, and algorithms to craft their own unique melodies, rhythms, and visual designs.

Computational Thinking

Transforms abstract coding concepts (loops, pattern recognition, algorithmic sequencing, and abstraction) into audible rhythms and visible colors for lasting comprehension.

STEAM Integration

Unites Science, Technology, Engineering, and Mathematics with Art. Merges analytical reasoning with aesthetic design skills.

Instant Feedback

Every block of code immediately turns into a musical note or a colorful pixel. Children experience debugging not as a chore, but as an artistic exploration.

Kids as Creators

Shifts children from passive technology consumers in front of screens into active creators who code their own digital music and artwork.

Tospaa Mini Logo

Tospaa Creative Coding Applications

Start creative coding in your classroom or at home right away with our two powerful, installation-free, and completely free browser-based applications!

Pixel Coding & Tospaa Script

Code shapes and animated pixel art on a 20x20 Playground using Tospaa Script commands!

// Hollow Square (Tospaa Script)
4 defa tekrarla
ileri();
ileri();
ileri();
ileri();
sol();
tekrarı bitir
Bridge from Blocks to Text Coding
App 01 • PixelArt & Tospaa Script

Tospaa Pixel Coding

A fun transition from block coding to text-based coding with Tospaa Script!

Pixel Coding is a coding education and pixel art application that enables art lovers and code lovers of all ages to create PixelArt and animated pixel creations. Powered by Tospaa Script—a child-friendly Turkish/English coding language inspired by Scratch block expressions—it eases the transition from block coding to text-based programming with error-tolerant syntax (ileri, ileri(), and ileri(); all work seamlessly across Logo, Python, and JavaScript styles).

Coding Skills Developed

Text-Based Coding (Tospaa Script) 20x20 Coordinate Grid (x, y) Loops (Repeat / Forever) Conditionals (If Color Exists) Animated Pixel Art
  • 20x20 PixelArt Playground: Columns run left-to-right (x) and rows top-to-bottom (y). Tospaa starts at row 10, column 8 facing up with blue as the default color.
  • Directional & Coordinate Commands: Draw step-by-step with ileri();, sağ();, sol();, atla(); or jump directly to coordinates using git(x,y);, gitx(x);, gity(y);, xarttır();, yarttır();.
  • Color Palette & Animation Speed: Built-in color commands, custom RGB/Hex via renk(#752929);, arkaplan(); fill, and hızlan(); / yavaşla(); speed controls (200 ms default).

Step-by-Step Documentation

Tospaa Script & Pixel Coding Guide

Complete command reference, shape drawing examples, and frequently asked questions.

Pixel Coding: A coding education and pixel art application that allows art and code enthusiasts of all ages to create PixelArt and animated pixel graphics.

Tospaa Script: A child-friendly Turkish/English coding language modeled after Scratch block phrases to make transitioning from block coding to text coding effortless. Its syntax is highly fault-tolerant: ileri, ileri(), and ileri(); all execute properly (Logo, Python, JavaScript friendly). The recommended format is command();.

The playground consists of 20 rows and 20 columns. Columns (x) increase from left to right, and rows (y) increase from top to bottom.

Tospaa starts at row 10 (y), column 8 (x) facing upward with blue as the default color. The Tospaa icon on the right displays the active position and direction, and hovering your cursor over any pixel reveals its exact coordinate address.

Familiar commands from the Tospaa Unplugged Coding Game work right in the editor. Type ileri(); and press Enter, or click Compile Code to run your full program:

  • ileri(); — Colors the current pixel and moves 1 square forward.
  • sağ(); and sol(); — Turns Tospaa right or left.
  • atla(); — Jumps 1 square forward without coloring.
// Vertical "Z"-like shape example:
sarı(); ileri(); ileri(); sağ(); ileri(); sol(); ileri();

Wrap commands inside loops to write cleaner code: use 2 defa tekrarla, 10 defa tekrarla, or sürekli tekrarla (infinite loop, max 1000 iterations), and close with tekrarı bitir.

// Square Using a Loop:
4 defa tekrarla
  ileri();
  ileri();
  ileri();
  ileri();
  sol();
tekrarı bitir
// Short Loop Example:
2 defa tekrarla
  yeşil();
  ileri();
tekrarı bitir

Built-in color commands:
mavi(); sarı(); turuncu(); yeşil(); kırmızı(); siyah(); beyaz(); kahverengi(); mor();

For custom colors, pick an RGB/Hex code from the right-hand palette and use renk(#752929);.

Background Fill: Select a color and call arkaplan(); (e.g., mavi(); arkaplan();).

  • boya(); — Paints the current square with the active color (e.g., mavi(); boya();).
  • git(x,y); — Jumps directly to column x, row y (e.g., mor(); git(4,6); boya(); paints column 4, row 6 purple).
  • gitx(x); and gity(y); — Moves along a single axis (e.g., mavi(); gitx(4); boya(); or sarı(); gity(7); boya();).
  • xarttır(amount); and yarttır(amount); — Shifts x or y position relatively; negative values decrease the coordinate (e.g., kırmızı(); ileri(); xarttır(1); yarttır(2); boya();).

Conditionals: Help the computer make decisions while drawing using eğer renk yoksa (if no color) and eğer renk varsa (if color exists):

sürekli tekrarla
  eğer renk yoksa
    ileri();
  eğer renk varsa
    atla();
tekrarı bitir

Animation Speed: Default delay is 200 ms. Use hızlan(); to speed up or yavaşla(); to slow down.

Ready Examples: Click the apple icon on the right side of the app to load sample code and hit Compile to see it in action!

Color Commands Movement & Drawing Loops Conditionals
mavi();
sarı();
turuncu();
yeşil();
kırmızı();
siyah();
beyaz();
kahverengi();
mor();
renk(code);
ileri();
sağ(); / sol();
boya(); / atla();
git(x,y);
gitx(x); / gity(y);
xarttır(amount);
yarttır(amount);
arkaplan();
rastgele();
yavaşla(); / hızlan();
sil();
ekranıtemizle();
sürekli tekrarla
... defa tekrarla
tekrarı bitir
eğer renk varsa
eğer renk yoksa
eğer renkkodu varsa
App 02 • Piano & Melody Coding

Tospaa Music Studio

Arrange piano notes with code blocks and compose your own melodies with loops!

Tospaa Music Studio blends piano notes, measure, and melody with algorithmic thinking. Children structure repeating sections of a piano piece as loops and sequence notes and durations step by step to compose their own digital piano music.

Coding Skills Developed

Loops Sequencing Note Duration & Tempo Control Piano Notes & Octaves Melodic Pattern Recognition
  • Piano Notes & Code Blocks: Code C, D, E, F, G, A, B piano notes and beat durations step by step.
  • Interactive Digital Piano: Real-time playback and visualization of coded notes on piano keys.
  • Classroom Ready: An interdisciplinary bridge between computer science and music classes.

music.tospaa

Code and listen to your own piano song directly in the browser with zero installation!

// Sample Piano Melody Algorithm
REPEAT (2 Times) {
Play_Piano(C, D, E, C)
Play_Piano(E, F, G)
Wait(0.5_Beats)
}
Digital Piano Coding Studio

Creative Coding in 3 Steps at School & Home

A hybrid creative coding implementation guide for teachers and parents.

1

Unplugged Discovery

First, explore loops without screens using rhythm claps, or grasp algorithmic logic by coloring pixels with number codes on grid paper.

2

Digital Creation

Open Music Studio or Pixel Coding. Guide children to freely design their own melodies and pixel illustrations using code blocks.

3

Sharing & Reflection

Showcase the composed songs and pixel artworks in class. Discuss together which loops shortened the code and how bugs were fixed.

Start Creative Coding Today!

All of Tospaa's creative coding tools and unplugged coding materials are free as part of our equal opportunity vision.