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

Uploaded Python 3

File details

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

File metadata

  • Download URL: SC-Engine-1.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 0e1e1f1b513ec1693345c72aac13d08f6aa04e2a46a1a84d4b4ca939cc2662cc
MD5 dd5d223dbdd01e0b539f8d1bee29a62b
BLAKE2b-256 dcdc0b4033a2b0032d24c3e492b7311081de05eaad41eb0e8d6056af713ea80d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: SC_Engine-1.0.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 21f267501926b899c5cfe8bf15a63b85682f7cabb76f517a0c621f0349d6ccb4
MD5 31095307f5fe4a928bdc28a2a89b9ede
BLAKE2b-256 244be3c832e48dd668ddfcad3e5fa3161335dfbe3c4748b8f6a52eaef4df1366

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