Coder Social home page Coder Social logo

bblodget / tessellation Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 424 KB

A program that allows you to tessellate shapes onto a limitless canvas.

Home Page: https://bblodget.github.io/Tessellation/

License: BSD 3-Clause "New" or "Revised" License

C++ 96.68% HTML 2.60% Batchfile 0.72%

tessellation's Introduction

Tessellation Project

Try it out online!

https://bblodget.github.io/Tessellation/

Overview

The Tessellation project is a visual and interactive application developed in C++ using the OneLoneCoder's Pixel Game Engine. It demonstrates the concepts of geometric tessellations, allowing users to create and manipulate various shapes on a 2D canvas. This project showcases the ability to dynamically generate tessellations, interact with individual shapes, and observe the beauty of geometric patterns.

Features

  • Dynamic Shape Creation: Users can create various shapes, including triangles, squares, hexagons, and custom shapes like darts, by interacting with the application.
  • Interactive Tessellation: Shapes can be tessellated across the 2D canvas, demonstrating the principles of tessellation in geometry.
  • Zoom and Pan: The view can be zoomed in and out and panned across, offering a detailed examination of the tessellations.
  • Shape Manipulation: Users can move, rotate, and snap shapes together to explore the geometric possibilities.

Mouse and Keyboard Controls

  • ** Tool Selection:** Number Keys, 1=Place Tool, 2=Fill Tool, 3=Hide Tools
  • Zoom In: Key Q
  • Zoom Out: Key A
  • Scroll: Arrow keys

Place Tool

  • Place Shape: Left Mouse Click
  • Rotate Shape: Mouse Scroll Wheel or Keys: < >
  • Change Shape: Spacebar
  • Undo Last Shape: Right Mouse Click

Fill Tool

  • Fill Shape: Left Mouse Click
  • Change Fill Color: Mouse Scroll Wheel or Keys: < >

Getting Started

To get started with the Tessellation project, clone this repository and open the solution file in Visual Studio. Build the project and run the executable to launch the application. Interact with the application using the mouse and keyboard controls listed above to create and manipulate tessellations.

Contribution

Contributions to the Tessellation project are welcome. Please feel free to fork the repository, make your changes, and submit a pull request.

License

This project is licensed under the BSD 3-Clause License, except where indicated otherwise in the source files. For example, the OneLoneCoder (OLC) header files included in this project are licensed under the OLC-3 License. Please see the LICENSE.txt file for the BSD 3-Clause License and the respective header files for the OLC-3 License details.

tessellation's People

Contributors

bblodget avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.