A pixel rotation module
Project description
SC ENGINE
SC-Engine is a rotation engine coded by @SplatCraft
It works with Oz-Engine (or other libraries)
SETUP
In shell, type the following command :
pip install SC-Engine
In your file, write this:
import SC
USE
Let's try to rotate a point around another point !
new = SC.rotate([1,1] , 90 , [3,3])
# here we are rotating the point at x=1 y=1 around the point at x=3 y=3 to 90 degrees
# this function returns a list of two integers [x,y]
print(new)
Run the project and see what happens
[5, 5]
And those are the new coordinates of the point !
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 SC-Engine-1.0.5.1.tar.gz.
File metadata
- Download URL: SC-Engine-1.0.5.1.tar.gz
- Upload date:
- Size: 1.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e790aaa065fa68373c8b9372eb667d939781b351ff4d9778aeb77a34fdddea75
|
|
| MD5 |
0ec4016bb25a21a2222e26db92ce0daa
|
|
| BLAKE2b-256 |
4e892da8a88e7e5d364dd75e1e9fa00d5e21d9ec01fd32a37d9e34cd39d83c85
|
File details
Details for the file SC_Engine-1.0.5.1-py3-none-any.whl.
File metadata
- Download URL: SC_Engine-1.0.5.1-py3-none-any.whl
- Upload date:
- Size: 2.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
14ba62aa3b2357d190f392284e0dc3110ad08ad8e1df5c4f80f4c866e821574c
|
|
| MD5 |
7dfeaa9b4368e07f9d7866bcb523d7bd
|
|
| BLAKE2b-256 |
b8e2951c8997eef4ec5b87d06e0bf79f7dd51a3455b097768101a0c145918994
|