Japanese English

VCSSL Code Archive

Welcome to the VCSSL Code Archive!
Here we are destributing various programs with commentary articles explaining algorithms, background knowladge, and so on.

Programs in this code archive are written in the VCSSL or the Vnano (subset of the VCSSL). The runtime envionment of the VCSSL&Vnano (available on various OSes, e.g.: Microsoft Windows®, Linux, etc.) is bundled in the destributed packages, so you can execute programs downloaded from here very easily.

The VCSSL/Vnano has a simple C-like syntax, so destributed programs in this code archive might be useful as a kind of example code of algorithms, when you implement it in C, C++, or other programming languages having C-like syntax. Each code of the program in this archive is basically (check each article for details) destributed under CC0, so you can customize / divert / redistribute them freely.

New Programs

The list of newly archived programs.

Wrapping a C Program with a GUI (1: Simple Edition)

Invoke a C-language "Hello, World" Program from VCSSL and Display the Output
2026-02-24
Numerical Integration Using Simpson's Rule (Quadratic Approximation)

Calculates the value of a definite integral using a method that approximates the curve with parabolas, achieving even higher accuracy than the trapezoidal method.
2025-06-30
Numerical Integration Using the Trapezoidal Method (Trapezoidal Approximation)

Calculates the value of a definite integral by summing up small trapezoids that approximate the area under the curve, offering higher accuracy than the rectangular method.
2025-06-29
Numerical Integration Using the Rectangular Method (Rectangular Approximation)

Calculates the value of a definite integral using a simple and intuitive method that approximates the area under the curve with rectangular strips.
2025-06-27

Simulation

The list of scientific simulations.

Wave Interference Animation (Two Circular Waves on a Plane)

Interactive simulator for visualizing wave interference between two circular waves on a plane.
Circular Wave Animation

Interactive simulator for animating circular waves on a plane with adjustable parameters.
Wave Interference Animation (Two Sine Waves on a Line)

Interactive simulation of wave interference between two 1D sine waves.
Sine Wave Animation

Interactive simulator for animating sine waves with adjustable parameters.
Vnano | Solve The Lorenz Equations Numerically

Solve the Lorenz equations, and output data to plot the solution curve (well-known as the "Lorenz Attractor") on a 3D graph.

Numerical Calculations and Algorithms

The list of numerical calculations, and example code of algorithms for them.

Numerical Integration Using Simpson's Rule (Quadratic Approximation)

Calculates the value of a definite integral using a method that approximates the curve with parabolas, achieving even higher accuracy than the trapezoidal method.
Numerical Integration Using the Trapezoidal Method (Trapezoidal Approximation)

Calculates the value of a definite integral by summing up small trapezoids that approximate the area under the curve, offering higher accuracy than the rectangular method.
Numerical Integration Using the Rectangular Method (Rectangular Approximation)

Calculates the value of a definite integral using a simple and intuitive method that approximates the area under the curve with rectangular strips.
Tool For Converting Units of Angles: Degrees and Radians

A GUI tool for converting the angle in degrees into radians, or radians into degrees.
Fizz Buzz Program

A program printing the correct result of Fizz Buzz game.
Vnano | Output Data of Numerical Integration For Plotting Graph

Example code computing integrated values numerically, and output data for plotting the integrated functions into graphs.
Vnano | Compute Integral Value Numerically

Example code computing integral values numerically by using rectangular method, trapezoidal method, and Simpson's rule.

Graph Plot

The list of programs plotting graphs, and programs outputting data for plotting graphs.

3D Graph Plotting Tool for Animating Data Loaded from Multiple Files

A simple tool which plots 3D animation graphs by loading multiple data files.
2D Graph Plotting Tool for Animating Data Loaded from Multiple Files

A simple tool which plots 2D animation graphs by loading multiple data files.
3D Graph Tool for Plotting & Animating Expressions of the Form of "z = f(x,y,t)"

A simple tool which plots the expression (formula) of the form of "z = f(x,y,t)" to the 3D graph, and plays it as animation.
2D Graph Tool for Plotting & Animating Expressions of the Form of "y = f(x,t)"

A simple tool which plots the expression (formula) of the form of "y = f(x,t)" to the 2D graph, and plays it as animation.
3D Graph Tool for Plotting & Animating Parametric Expressions of the Form of x(t), y(t), z(t)

A simple tool which plots parametric expressions (formulas) of the form of x(t), y(t), z(t) to the 3D graph, and plays it as animation.
2D Graph Tool for Plotting & Animating Parametric Expressions of the Form of x(t) and y(t)

A simple tool which plots parametric expressions (formulas) of the form of x(t) and y(t) to the 2D graph, and plays it as animation.
3D Graph Tool for Plotting Expressions of the Form of "z = f(x,y)"

A simple tool which plots the expression (formula) of the form of "z = f(x,y)" to the 3D graph.
2D Graph Tool for Plotting Expressions of the Form of "y = f(x)"

A simple tool which plots the expression (formula) of the form of "y = f(x)" to the 2D graph.
Animating a 3D Graph by Continuously Plotting Arrays (Surface/Mesh Plot)

Explains how to create 3D surface/mesh graph animations by updating arrays over time.
Animating a 3D Graph by Continuously Plotting Arrays (Point/Line Plot)

Explains how to create 3D point/line graph animations by updating arrays over time.
Animating a 2D Graph by Continuously Plotting Arrays

Explains how to create 2D graph animations by updating arrays over time.
Plotting Arrays on a 3D Graph (Surface/Mesh Plot)

Explains how to plot coordinate data stored in an array on a 3D surface/mesh graph with sample code.
Plotting a File on a 3D Graph (Surface/Mesh Plot)

Explains how to plot coordinate data from a file on a 3D surface/mesh graph with sample code.
Plotting Arrays on a 3D Graph (Point/Line Graph)

Explains how to plot coordinate data stored in an array on a 3D graph with sample code.
Plotting Arrays on a 2D Graph

Explains how to plot coordinate data stored in an array on a 2D graph with sample code.
Plotting a File on a 3D Graph (Point/Line Graph)

Explains how to plot coordinate data from a file on a 3D graph with sample code.
Plotting a File on a 2D Graph

Explains how to plot coordinate data from a file on a 2D graph with sample code.

Graphics

The list of programs utilizing 2D/3D Graphics features.

Simple Tool for Viewing and Converting Between RGB Values and Color Codes

Display and Convert RGB Values and Color Codes on a GUI Tool
A Simple Tool for Making Specific Colors Transparent (Batch Processing Version)

Batch-Convert a Specific Color to Transparency in All PNG Files in a Folder
A Simple Tool for Making Specific Colors Transparent

Convert a Specific Color to Transparency in PNG Image Files
Simple Tool for Animating Sequential Images

A lightweight tool developed with VCSSL that allows you to play back sequential image files as an animation without converting them into a video file.
Vertex Array-Based Model Deformation Animation

How to Deform 3D Surface Models Using a Grid-Based Vertex Array
Creating a Model from a Vertex Array (Quadrangle Grid Mesh Format)

How to Create 3D Surface Models from a Grid-Based Vertex Array

Language Interop

Code examples for calling and integrating with programs written in other languages, such as C.

Wrapping a C Program with a GUI (1: Simple Edition)

Invoke a C-language "Hello, World" Program from VCSSL and Display the Output

Vnano

The list of programs written in the Vnano. These programs are available on applications equipped with the script engine of the Vnano, e.g.: RINPn.

Fizz Buzz Program

A program printing the correct result of Fizz Buzz game.
Vnano | Solve The Lorenz Equations Numerically

Solve the Lorenz equations, and output data to plot the solution curve (well-known as the "Lorenz Attractor") on a 3D graph.
Vnano | Output Data of Numerical Integration For Plotting Graph

Example code computing integrated values numerically, and output data for plotting the integrated functions into graphs.
Vnano | Compute Integral Value Numerically

Example code computing integral values numerically by using rectangular method, trapezoidal method, and Simpson's rule.


Japanese English
Index
3D Graph Plotting Tool for Animating Data Loaded from Multiple Files

A simple tool which plots 3D animation graphs by loading multiple data files.
2D Graph Plotting Tool for Animating Data Loaded from Multiple Files

A simple tool which plots 2D animation graphs by loading multiple data files.
3D Graph Tool for Plotting & Animating Expressions of the Form of "z = f(x,y,t)"

A simple tool which plots the expression (formula) of the form of "z = f(x,y,t)" to the 3D graph, and plays it as animation.
2D Graph Tool for Plotting & Animating Expressions of the Form of "y = f(x,t)"

A simple tool which plots the expression (formula) of the form of "y = f(x,t)" to the 2D graph, and plays it as animation.
3D Graph Tool for Plotting & Animating Parametric Expressions of the Form of x(t), y(t), z(t)

A simple tool which plots parametric expressions (formulas) of the form of x(t), y(t), z(t) to the 3D graph, and plays it as animation.
2D Graph Tool for Plotting & Animating Parametric Expressions of the Form of x(t) and y(t)

A simple tool which plots parametric expressions (formulas) of the form of x(t) and y(t) to the 2D graph, and plays it as animation.
3D Graph Tool for Plotting Expressions of the Form of "z = f(x,y)"

A simple tool which plots the expression (formula) of the form of "z = f(x,y)" to the 3D graph.
2D Graph Tool for Plotting Expressions of the Form of "y = f(x)"

A simple tool which plots the expression (formula) of the form of "y = f(x)" to the 2D graph.
Animating a 3D Graph by Continuously Plotting Arrays (Surface/Mesh Plot)

Explains how to create 3D surface/mesh graph animations by updating arrays over time.
Animating a 3D Graph by Continuously Plotting Arrays (Point/Line Plot)

Explains how to create 3D point/line graph animations by updating arrays over time.
Animating a 2D Graph by Continuously Plotting Arrays

Explains how to create 2D graph animations by updating arrays over time.
Plotting Arrays on a 3D Graph (Surface/Mesh Plot)

Explains how to plot coordinate data stored in an array on a 3D surface/mesh graph with sample code.
Plotting a File on a 3D Graph (Surface/Mesh Plot)

Explains how to plot coordinate data from a file on a 3D surface/mesh graph with sample code.
Plotting Arrays on a 3D Graph (Point/Line Graph)

Explains how to plot coordinate data stored in an array on a 3D graph with sample code.
Plotting Arrays on a 2D Graph

Explains how to plot coordinate data stored in an array on a 2D graph with sample code.
Plotting a File on a 3D Graph (Point/Line Graph)

Explains how to plot coordinate data from a file on a 3D graph with sample code.
Plotting a File on a 2D Graph

Explains how to plot coordinate data from a file on a 2D graph with sample code.
News From RINEARN
* VCSSL is developed by RINEARN.

Exevalator v2.4 Released — MCP Support Added, Now Usable as an AI Calculation Tool
2025-11-15 - We've released Exevalator v2.4, our expression-evaluation library. Starting with this version, it supports MCP, making it usable as a calculation tool for AI assistants.

Exevalator v2.3 Released — Now Usable from Python
2025-11-04 - We've released Exevalator v2.3. Starting with this version, you can now use it from Python! With growing demand around AI tool development in mind, we share the details here.

Exevalator Updated — Easy Japanese Localization for Error Messages
2025-10-31 - Exevalator 2.2.2 is out. You can now localize error messages to Japanese with a simple copy-and-paste, and we've included several bug fixes and minor parser adjustments.

Inside RINPn Online: Architecture Overview
2025-10-22 - An inside look at the architecture of the recently launched online version of the RINPn scientific calculator. It's open source, so you can freely modify and reuse it to build your own web calculator (maybe!).

Meet RINPn Online: Use the Scientific Calculator Anywhere, Instantly
2025-10-21 - RINPn, the free scientific calculator, now has an online version you can use instantly in your browser — on both PC and smartphones. Read the announcement for details.

The VCSSL Support AI is Here! — Requires a ChatGPT Plus Account for Practical Performance
2025-08-19 - A new AI assistant for the VCSSL programming language is here to answer your questions and help with coding. This article explains how to use it and showcases plenty of real Q&A and generated code examples.

English Documentation for Our Software and VCSSL Is Now Nearly Complete
2025-06-30 - We're happy to announce that the large-scale expansion of our English documentation with the support of AI — a project that began two years ago — has now reached its initial target milestone.

VCSSL 3.4.52 Released: Enhanced Integration with External Programs and More
2025-05-25 - This update introduces enhancements to the external program integration features (e.g., for running C-language executables). Several other improvements and fixes are also included. Details inside.