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.5.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.5-py3-none-any.whl (2.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: SC-Engine-1.0.5.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.5.tar.gz
Algorithm Hash digest
SHA256 e3bb9090da373b7bb3387109db20baf454480a57cde99b59ab326b35441c8b0b
MD5 8740c70c40bbcc5b7d4b0067daf976b3
BLAKE2b-256 5ed3663334b5102c399fd9971c0bcea0f9e066d6ebcb9ba072e33efcc96b562d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: SC_Engine-1.0.5-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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 678a3011f36ca7cbe3dad7a9edb91dc8e919041012525158993e8957fe135fc8
MD5 608e810eb7c3679a628b704968ec1416
BLAKE2b-256 7e4f28fc4a56c0a878900045c57cf1489c90a97bf8cd8c437d7e09b753b0481d

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