Giter Club home page Giter Club logo

php's Introduction

PHP

Examples of my PHP Code

Essentially this repository is an ever growing backup of all my public PHP work. It represents a living body of work and I can, will and do update it frequently.

PHP Projects

AncestorSimulations


PHP Code Generator & Auto Commit Project.


An example of reading and writing 3D objects using STL file format.

Random STL Example:

Test.php

Image to Mesh Example:

ImageToMesh_CalderaCrater.php

CalderaCrater.png

Class Files:

Vertex.Class.php

Facet.Class.php

STLObject.Class.php

Test STL Files:

cube.stl

RandomlyGenerated.stl

CalderaCrater.stl


An example of reading and writing RIFF Wave Audio file format.

ReadWriteWavs.php

Class File:

JoysWaveReader.class.php

Test Audio Files:

220HzSaw.wav

220HzSine.wav

220HzSquare.wav


Diffusion-limited aggregation (DLA) using Brownian motion.

DiffusionLimitedAggrigation.php

Class Files:

AggregationSpace.Class.php

RandomWalker.Class.php

Examples:

DiffusionLimitedAggrigation.gif

DiffusionLimitedAggrigation2.gif

DiffusionLimitedAggrigation3.gif

DiffusionLimitedAggrigation4_large.gif

DiffusionLimitedAggrigation5_large.gif

DiffusionLimitedAggrigation_image_large.png

DiffusionLimitedAggrigation_image2_large.png

DiffusionLimitedAggrigation_image_medium.png


Create a displacement map from an image.

CreateDisplacementMap.php

Examples/Results:

Input Image

Displacement Map Output

STL Example

FBX Example

Blender File


Ever need to know what direction X & Y are from the center polar coordinate... and then want to draw it for good measure... using PHP?? Have I got some code for you!

ScreenSpaceToPolar.php

PolarColorWheel.png


A Simple Web Spider built with PHP.


Evolution is an evolution simulation using PHP and is currently a work in progress. It features autoloading classes and random generation.


Magic 8 Ball is a browser based implementation of a "magic 8 ball". This project features autoloading classes and CSS to create a virtual 8 Ball that will soon become your goto oracle with all important questions in your life.


This tool is a demonstration of a "brute force" password breaker. This prototype is provided AS IS and for informational & educational purposes only! Breaker.php


SierpinskiTriangle.php & GIFEncoder.class.php


An example of an FFT writen in PHP

fft.php & complex.class.php


Extract part of an image from another image using a masking image... just... just because... HADOUKEN!

ImageMaskExtract.php

Gradient to Extract From

Mask to Extract

Output


An example of using Text To Speech with PHP using eSpeak on Linux & Mac (option to use say command) or SAPI on Windows.

TTS_MacAndLinux.php

TTS_Windows.php


AppTimer.Class.php

BasicExample.php

AutoStartAndReportExample.php

FunctionCallbackExample.php

ObjectMethodCallbackExample.php

GetTimeExample.php


How to use the PHP & the GD lib to split RGB "TrueColor" images into seperated RGB monochrome images.


An incomplete Plutchik Emotion Tagger


An example command line menu app using PHP

app.php

menus.php

functions.php


A word to token and string to embedding generator.

GenerateWordTokensVocabulary.php

Class.Tokenizer.php

Example.php

Note: (sourced from /usr/dict/words) words

vocab.json


XOR from scratch... in PHP no less! ¯\㋡/¯

xor.php

xor.net


Loose Code

This folder contains stand alone code. Each does something different and is here because I want a backup of this code for any number of reasons.

All of this code is subject to minor alterations, complete rewrites, even removal.

php's People

Contributors

geekgirljoy avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

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