A graphical and compact library for the Numworks calculator and its emulator
Project description
Visual
Welcome! This project is designed for use with the Numworks graphing calculator. It allows you to add graphical functions, mainly around new drawing functions like line or circle drawing, but also mathematical classes like vectors or points, and much more!
But it's also an easy-to-use library available on PyPi, so you don't have to code on your calculator, thanks to the Numworks python emulator for computers.
Table of Contents
General Info
I recommend that you test the example files on your own computer, as you can drastically increase their execution speeds.
To install it on the Numworks, we have the choice :
-
Just follow this link to the Numworks website
-
You just need to copy and paste the code from the visual file into a new script on your Numworks account. Then upload it to your calculator.
Here's an example of what you can do with the calculator, using the example file. Click here to see it on the Numworks website.
Here's another example of what you can do with the functions provided by Visual.
If you have any questions, go to the FAQs section, or explore all the examples here after visiting this page to install the visualcore library on your computer !
How to use it
- Simply use this command :
pip install visualcore
- Or download the github repository in .zip or clone it via this url :
https://github.com/Archange-py/Visual.git
To use it properly, you need to install several python packages on your computer, either from the command line using the requirements.txt file :
pip install -r requirements.txt
Or individually with each package.
pip install kandinsky
- Ion :
pip install --pre ion-numworks
And python, of course, here if you don't already have it.
You can change the emulator's OS by pressing "CTR+O" to increase speed, so you can get the most out of it without seeing everything slow down !
Examples
First of all, after you're on your computer, you need to start by importing it after installing it in the current directory, and write that on the first line of your project :
from visual import *
After that, you need to understand how this script is organized, with points and vectors for example, and how it works, with its functions. For this purpose, you have at your disposal one Jupiter Notebook containing everything that can be shown in writing for the file visual_example. Then there are plenty of example files for everything to do with graphics. You can see the results with the following images :
- Function interpolation : example_interpolation.py
| Example 1 | Example 2 | Example 3 | Example 4 |
|---|---|---|---|
-
Function expend : example_vectoriel_geometry
-
Function findWithPoint : example_findwithpoint.py
-
Function alpha_pixel and argument "alpha" in draw function : example_alpha_layer.py
We have to take a number less or equal to 0, and greater or equal to 1 for the alpha parameter
| Example 1 | Example 2 |
|---|---|
- Function scatter : example_scatter.py
| Example 1 | Example 2 | Example 3 |
|---|---|---|
- Function plot : example_plot.py
| Example 1 | Example 2 | Example 3 |
|---|---|---|
- Function set_lines : example_lines.py
| Example |
|---|
- Function draw_points : example_point.py
| Example |
|---|
- Function draw_croix : example_croix.py
| Example |
|---|
- Function draw_arrows : example_arrows.py
| Example |
|---|
- Function draw_vector : example_vectors.py
| Example |
|---|
- Function draw_droite : example_droite.py
| Example 1 | Example 2 |
|---|---|
- Function fill_triangles : example_triangle.py
| Example |
|---|
- Function draw_polygone and fill_polygone : example_polygone.py
| Example |
|---|
- Function draw_circle and fill_circle : example_cercle.py
| Example |
|---|
- Function bezier curve : example_bezier_curve
| Example 1 | Example 2 |
|---|---|
Tree Fractals
The link to the example script: example_fractal.py
And the source script: fractal.py
Don't forget to install the lines extension here in your computer !
| Basic Tree | Palm Tree |
|---|---|
Magenta Trees
Cyan Trees
Examples of Trees
Angle Tree
Extensions
Here are some extensions designed to work with the calculator. However, the latest extension, Grapher, will only work on a computer. They include a number of extra features, notably a reproduction of the turtle module, and another, much simpler one, of the matplotlib.pyplot module. I'll let you discover them with some beautiful images!
You need to copy and paste the code from the extension files into a new file created on the Numworks website.
- Extension Lines : lines_example.py
| Example |
|---|
- Extension Ellipses : example_ellipse.py
| Example 1 | Example 2 |
|---|---|
- Extension Turtle : turtle_example.py
The turtle extension has both a compact and a non-compact file for use on the computer.
| Example 1 | Example 2 |
|---|---|
- Extension Grapher : grapher_example.ipynb
| Keys | Short |
|---|---|
| Arrows [Up, Down, Right, Left] | allows you to move around the grapher |
| 'Maj'+'=' or '+' | zoom in or out |
| 'Maj'+'à' or '0' | refocuses the graphic |
| 'Ctr'+'o' | changes the emulator, thus increasing speed |
Examples
QR-Codes
Here are two QR codes to easily find the Visual library on GitHub and on the official Numworks website. Use them without restriction!
| GitHub | Numworks |
|---|---|
FAQs
A list of frequently asked questions (for the moment there is none).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file visualcore-1.0.1.tar.gz.
File metadata
- Download URL: visualcore-1.0.1.tar.gz
- Upload date:
- Size: 2.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1a1eccdddd77d60446ef06d7aed88e13f2a734eb45d767304a0c28ad325a4f3f
|
|
| MD5 |
a974110026e0fe7a1c15e911fadc0f6b
|
|
| BLAKE2b-256 |
b703d14c91223e6f7b5c214116d8d214e50a94cacdb378844e2c5a5d040b998b
|
File details
Details for the file visualcore-1.0.1-py3-none-any.whl.
File metadata
- Download URL: visualcore-1.0.1-py3-none-any.whl
- Upload date:
- Size: 31.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a76f5e6717586205e55ed7c911e3a4af183fcc2cbe639a97cfea16b8760af5d1
|
|
| MD5 |
cac3c85d81e45e92edc05ef692d01809
|
|
| BLAKE2b-256 |
ca573302229795b3710077f7a8ac2744c019010f91a64cfd0b5cf172b13b6d55
|