Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

SC-Engine-1.0.3.tar.gz (1.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

SC_Engine-1.0.3-py3-none-any.whl (2.3 kB view details)

Uploaded Python 3

File details

Details for the file SC-Engine-1.0.3.tar.gz.

File metadata

  • Download URL: SC-Engine-1.0.3.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

Hashes for SC-Engine-1.0.3.tar.gz
Algorithm Hash digest
SHA256 76f2c63a0f3492f86259b02bdb24f5764a4fc397029d2330cd954e2be2013936
MD5 a2127234e0f79134d6109705983fd1cb
BLAKE2b-256 ecacc74f53f932f289f47828acf15e6b8d1e976d9ed45da2649c24f1f4e1f671

See more details on using hashes here.

File details

Details for the file SC_Engine-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: SC_Engine-1.0.3-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

Hashes for SC_Engine-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 9df40fa9ff9c4f622a693bc522f291e0858afeafb0f1c8d51dcb53762bba076a
MD5 c2e9b5f0fbafc3cd6d3a73ad2cfa69dd
BLAKE2b-256 041fba4efb0ab7b59313b8484fd8ad00a18f9df77cb8bb5e00a6e32b8c860a43

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page