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

Uploaded Python 3

File details

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

File metadata

  • Download URL: SC-Engine-1.0.4.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.4.tar.gz
Algorithm Hash digest
SHA256 fcaa268a4b0763914a7cd6cbcea3253c8fce41209327f761b20b4c2cab618399
MD5 d03337b50f23f36e26050a3a79e499da
BLAKE2b-256 f0a0dbc3431f861c4e255b1bb74fd2e6ed6986fb92fc8717bd7c3346fdaafaf8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: SC_Engine-1.0.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 7ccd9bc43d31ef4e624598317a1ce133b036bb4c1e67eaea0817dc2ea676bc0e
MD5 c510b8ed825001da8bc69f082dfba09a
BLAKE2b-256 125f5c2bdcd7d1a22e20459de0d25108f599c2ff58cdd51c7bd6e5288dda0339

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