Posts with the tag « programming » :

🔗 Decker

-

HyperCard clone that works inside the browser. Creates portable HTML files.

black and white screenshot

Decker is a multimedia platform for creating and sharing interactive documents, with sound, images, hypertext, and scripted behavior. You can try it in your web browser right now.

🔗 Mastodon.py

-

Mastodon is an ActivityPub-based Twitter-like federated social network node. It has an API that allows you to interact with its every aspect. This is a simple Python wrapper for that API, provided as a single Python module.

Mastodon.py aims to implement the complete public Mastodon API. As of this time, it is feature complete for Mastodon version 3.5.5. The Mastodon compatible API layers of various other pieces of software as well as forks, while not an official target, should also be basically compatible, and Mastodon.py does make some allowances for behaviour that isn’t strictly like that of Mastodon, and attempts to support extensions to the API.

🔗 CardStock

-

CardStock is a cross-platform tool for quickly and easily building programs. It provides a drawing-program-like editor for visually laying out your programs' parts, and a code editor for adding event-driven python code.

Aims to imitate Hypercard's simplicity.

🔗 A Bitsy Tutorial

-

[img[https://www.shimmerwitch.space/bitsyTutorialImg/IntroScreen.png]]

Bitsy is a web-based game-making tool on itch.io made by Adam Le Doux, available at https://ledoux.itch.io/bitsy.

...

It's a tool that people love so much because of its constraints. The limited colour palettes, tiny pixel canvas and simple mechanics allow for very focused ideas and thoughts in the games that people create in it. Every pixel, word, and colour decision has so much weight, and is capable of conveying so much in the absence of other noise. But, an 8x8 pixel grid gives you 1.8446744 x 1019 possible options for every tile. So how limited is that really?

It's also super easy and satisfying to use, with no need to code anything at all. It's …

🔗 microStudio

-

microStudio is an integrated game development environment. It includes all the tools you need to create your first video game! microStudio offers all the following possibilities:

  • a sprite editor
  • a map editor
  • a code editor to program in microScript, Python, JavaScript or Lua
  • import sounds and music
  • export your project to HTML5, Android (APK), Windows, macOS or Linux in a single click.
  • Make changes live to your game, while you are playing it
  • work in teams with instant synchronizations (microStudio online)
  • Explore and pick elements from public projects contributed by the community
  • New: Access accelerated 2D and 3D libs Pixi.js and Babylon.js

microStudio is easy to learn, thanks to its interactive tutorials and documentation.

🔗 A Programmer's Introduction to Mathematics: Second Edition (pdf)

-

<> A Programmer's Introduction to Mathematics uses your familiarity with ideas from programming and software to teach mathematics.

You'll learn about the central objects and theorems of mathematics, covering graphs, calculus, linear algebra, eigenvalues, optimization, and more. You'll also be immersed in the often unspoken cultural attitudes of mathematics, learning both how to read and write proofs while understanding why mathematics is the way it is. Between each technical chapter is an essay describing a different aspect of mathematical culture, and discussions of the insights and meta-insights that constitute mathematical intuition.

As you learn, we'll use new mathematical ideas to create wondrous programs, from cryptographic schemes to neural networks to hyperbolic tessellations. Each chapter also contains a set of exercises that have you actively explore …

🔗 List Comprehension

-

List comprehensions were added with Python 2.0. Essentially, it is Python's way of implementing a well-known notation for sets as used by mathematicians. In mathematics the square numbers of the natural numbers are, for example, created by { x2 | x ∈ ℕ } or the set of complex integers { (x,y) | x ∈ ℤ ∧ y ∈ ℤ }.

List comprehension is an elegant way to define and create lists in Python. These lists have often the qualities of sets, but are not necessarily sets.

List comprehension is a complete substitute for the lambda function as well as the functions map(), filter() and reduce(). For most people the syntax of list comprehension is easier to be grasped.

See also: [[Lambda, filter, reduce and map]]

🔗 Lambda, filter, reduce and map

-

The lambda operator or lambda function is a way to create small anonymous functions, i.e. functions without a name. These functions are throw-away functions, i.e. they are just needed where they have been created. Lambda functions are mainly used in combination with the functions filter(), map() and reduce(). The lambda feature was added to Python due to the demand from Lisp programmers.

The general syntax of a lambda function is quite simple:

lambda argument_list: expression

See also: [[List Comprehension]]

🔗 Pyxel - a retro game engine for Python.

-

[img[https://raw.githubusercontent.com/kitao/pyxel/master/pyxel/editor/screenshots/image_tilemap_editor.gif]]

Similar to [[PICO-8]] but in python.

Thanks to its simple specifications inspired by retro gaming consoles, such as only 16 colors can be displayed and only 4 sounds can be played back at the same time, you can feel free to enjoy making pixel art style games.

🔗 Algorithms by Jeff Erickson

-

This textbook is a wide-ranging, idiosyncratic treatise on the design and analysis of algorithms, covering several fundamental techniques, with an emphasis on intuition and the problem-solving process. The book includes important classical examples, hundreds of battle-tested exercises, far too many historical digressions, and exaclty four typos. <<<