GithubHelp home page GithubHelp logo

officialpixelbrush / mndl5150 Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 0.0 34 KB

Mandelbrot Exploration on the IBM 5150

License: Creative Commons Attribution Share Alike 4.0 International

C 100.00%

mndl5150's Introduction

License: CC BY-SA 4.0 Last Commit Lines of Code

Contributing to the Project

MNDL5150

MNDL5150 is a modified version of my Mandelbrot Exploration Program, MNDLBRT (short for Mandelbrot), made to support CGA graphics, modified to not use a floating-point unit and full 8086 compatiblity (from what I've seen). It is not very fast but it works.

MNDLBRT started as a fun little project earlier this year, just finding my footing in C programming, eventually resulting in a very capable fractal exploration program, running well on an AMD K-5, clocked at ~100MHz. It eventually spiraled into a massive game of porting that program to as many platforms as possible, which became my Mandelbrot Ports Page, on which a lot of Consoles are. Anything from the Nintendo GameBoy, up to the Nintendo 3DS and even the Apple ][! (The 3DS version is awesome btw. Lets you save and render images on the go!)

As I'm now trying to learn 8086 Assembly, I may try to redo this entire program in that, maybe even making it fully usable on an real IBM 5150! Though for now, this simple port shall suffice for the PCjam! It was fun to make, too bad I didn't have more time for further optimizations. It was my first time doing anything with CGA, especially the composite mode.

MNDL5150 was made for PCjam 2021.

Building

Watcom 11's wcl was originally used for compiling, alongside it's Graphics library

Running

Typing in "MNDL5150" should start the program right up.

  • Text Renders the Fractal in whatever size using Asterix's the user desires
  • Fullscreen CGA will fill the entire screen with a standard CGA Render
  • Explore CGA will render the fractal at a smaller scale, ideal for exploration and finding cool spots
  • Fullscreen CGA Comp does the same as Fullscreen CGA but with half the horziontal lines, doubling as a composite compatbility mode
  • Explore CGA does the same as Explore CGA but with half the horziontal lines, doubling as a composite compatbility mode
  • Any number above 5 can be used to exit

Set C values refers to if one would like to generate a Julia-set (Recommended: 0)

xCoord refers to the X position of the Camera (Recommended: 0)

yCoord refers to the Y position of the Camera (Recommended: 0)

Zoom refers to the Zoom of the Camera (Recommended: 10)

Iterations refers to the number of Iterations the program uses to render the fractal (Recommended: 10)

Controls

1 2 3 4 5 can be used as hot-keys for quickly swapping between the 5 different render modes (as shown above in Running)

W A S D for up, down, left and right

Q for zooming in, E for zooming out

R to increase the iterations by 10, F to decrease the iterations by 10

T to increase the resolution, G to decrease the resolution

Escape to exit (bit buggy)

Screenshots

Monochrome CGA Fullscreen Render

Monochrome CGA Fullscreen Render

CGA Composite Fullscreen Render

CGA Composite Fullscreen Render

Modern CGA Render 1

Modern CGA Renders

mndl5150's People

Contributors

officialpixelbrush avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  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.