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], [3, 3], 180)

# here we are rotating the point at x=1 y=1 around the point at x=3 y=3 to 180 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.6.tar.gz (1.8 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.6-py3-none-any.whl (2.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: SC-Engine-1.0.6.tar.gz
  • Upload date:
  • Size: 1.8 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.6.tar.gz
Algorithm Hash digest
SHA256 39df74910dca582dc9792b7bd86c16a57ee19ecf7aae7f65c3dc31514d02560f
MD5 5ff8bb366a681f0a41d7f5d8bd02b69b
BLAKE2b-256 c4ca22996174ca8fc442f38aa9da3b0798dcee4f2b3bb5fffe7e29c762ba618e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: SC_Engine-1.0.6-py3-none-any.whl
  • Upload date:
  • Size: 2.2 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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 1a8d6c417b0264a1deb78b54881722e9c5b98fa70e46852ccc5efd82b9ea5cb9
MD5 78c379cbe3e6b9b9153f45a8a8898d5e
BLAKE2b-256 a33ff2cb773d467e60545c52676d1350f9345295baf4d2b4c90c52a2919a0149

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