by lighfu

Version 1 (July 9, 2022)

Download (11 downloads)

▞▄▗▝▗▚▌ ▌▗▖▝▛
▐▘▝▘▟▝▜▄▘▖▝▞ ▘
↑is Sample.

An example of a dot canvas using block characters.

# How to use!

## 1. data variable

Define a data variable in the variable set.
Enter the required information in the data variable.

We recommend using the "data" variable name.

- Define the canvas size.
{"wh" : [x, y]}

Specify the canvas size every time.

* Other operations

− Hit a dot on the canvas
{"pset" : [x, y]}

− Erase dots from the canvas
{"pdel" : [x, y]}

− Check if there is a dot at any coordinate on the canvas
{"pchk" : [x, y]}

Return to data variable.
ex, data: {"get": 0}

(0: None, 1: Dot)

* These will not work properly if you specify coordinates beyond the canvas size defined by {"wh": ...}.

[functional constructor]

- dotconvert
convert bit to dot.
ex. 1,2,3,4 = 1,0,1,1 = "▙"

## 2. subroutine

After setting the variables, connect to the subroutine.

Specify "data" as the variable name that is the return value.

Connect the subroutine destination to Id: 24 of the Variable set.

## 3. result

The result is stored in the data variable.

Dot data: data["out"]
Map data: data["map"]
pchk data: data["get"]

## 4. map data
You can use the map data to add or remove dots from existing map data.

The result contains map data, which can be reused from the current dot map.


* If you erase a part of the sample, it will work even if it is not premium.

* It is slow because it does not use an optimization method.

5.0 average rating from 1 reviews

5 stars
4 stars
3 stars
2 stars
1 star

Rate and review within the app in the Community section.