Skip to content

Instantly share code, notes, and snippets.

View OrangoMango's full-sized avatar
🖥️
Struggling with 3D

Orango Mango OrangoMango

🖥️
Struggling with 3D
View GitHub Profile
@OrangoMango
OrangoMango / CubeRenderer.java
Created July 22, 2024 18:12
3D rendering in the console
public class CubeRenderer{
private static class Point3D{
private double x, y, z;
public Point3D(double x, double y, double z){
this.x = x;
this.y = y;
this.z = z;
}
@OrangoMango
OrangoMango / AutoClicker.java
Created January 30, 2024 17:09
Simple autoclicker made in Java
import javafx.application.Application;
import javafx.application.Platform;
import javafx.stage.Stage;
import javafx.scene.robot.Robot;
import javafx.animation.AnimationTimer;
import javafx.scene.input.MouseButton;
public class AutoClicker extends Application {
@Override
public void start(Stage stage) {
@OrangoMango
OrangoMango / FallingSand.java
Last active January 24, 2024 15:38
Falling sand simulation made with JavaFX, inspired by the coding train challenge #180 of the coding train
import javafx.application.Application;
import javafx.stage.Stage;
import javafx.scene.Scene;
import javafx.scene.layout.StackPane;
import javafx.scene.canvas.*;
import javafx.scene.paint.Color;
import javafx.animation.*;
import javafx.util.Duration;
import javafx.scene.input.MouseButton;
import javafx.scene.input.KeyCode;
/**
* BMI (Body Mass Index) Calculator
* @author OrangoMango
* @version 1.0
*/
package com.orangomango.bmicalculator;
import java.text.DecimalFormat;
import java.text.NumberFormat;
import java.io.*;
@OrangoMango
OrangoMango / scientific-calculator.html
Created April 20, 2020 14:30
Scientific HTML Calculator
<html>
<head>
<script src="script.js" type="text/javascript">
</script>
<link rel="stylesheet" href="styles.css" />
@OrangoMango
OrangoMango / coronavirus.py
Created April 15, 2020 16:10
#stayAtHome coronavirus plot with matplotlib module
import matplotlib.pyplot as plt
y = [1]
for x in range(10):
y.append(y[x]*2)
x = [x for x in range(len(y))]
plt.plot(x, y, "--ko", label="Coronavirus", color="red")
plt.plot([0,10], [560,0], label="Money", color="green")
@OrangoMango
OrangoMango / calculator.html
Created April 15, 2020 16:04
HTML calculator
<html>
<head>
<script type="text/javascript" src="script.js">
</script>
<link rel="stylesheet" href="styles.css">