altunenes / rusty_art Goto Github PK
View Code? Open in Web Editor NEWCreative coding and visual illusions in Rust.
License: Other
Creative coding and visual illusions in Rust.
License: Other
Currently, you can save the frames simply using/holding the space button but it's not currently flexible.
see:
https://github.com/nannou-org/nannou/blob/91cd548f8d92cfb8ebcd7bcb2069575acba66088/examples/draw/draw_capture_hi_res.rs
but see:
nannou-org/nannou#947
Just giving it a go...
Downloaded 55 crates (6.4 MB) in 34.48s (largest was `nannou_egui` at 1.2 MB)
Compiling autocfg v1.1.0
Compiling cfg-if v1.0.0
Compiling proc-macro2 v1.0.51
Compiling quote v1.0.23
Compiling unicode-ident v1.0.6
Compiling syn v1.0.107
Compiling num-traits v0.2.15
Compiling getrandom v0.2.8
error[E0635]: unknown feature `proc_macro_span_shrink`
--> C:\Users\dhorner\.cargo\registry\src\index.crates.io-6f17d22bba15001f\proc-macro2-1.0.51\src\lib.rs:92:30
|
92 | feature(proc_macro_span, proc_macro_span_shrink)
| ^^^^^^^^^^^^^^^^^^^^^^
Compiling version_check v0.9.4
For more information about this error, try `rustc --explain E0635`.
error: could not compile `proc-macro2` (lib) due to previous error
warning: build failed, waiting for other jobs to finish...
c:\working\rust\rusty_art>error[E0635]: unknown feature `proc_macro_span_shrink`
tried the update.
c:\working\rust\rusty_art>cargo update
Updating crates.io index
Updating ab_glyph v0.2.20 -> v0.2.21
Updating arrayvec v0.7.2 -> v0.7.4
Updating atomic_refcell v0.1.9 -> v0.1.11
Updating bumpalo v3.12.0 -> v3.13.0
Updating bytemuck v1.13.0 -> v1.14.0
Updating cc v1.0.79 -> v1.0.83
Updating cocoa-foundation v0.1.0 -> v0.1.1
Updating core-foundation-sys v0.8.3 -> v0.8.4
Updating core-graphics-types v0.1.1 -> v0.1.2
Updating crossbeam-channel v0.5.6 -> v0.5.8
Updating crossbeam-deque v0.8.2 -> v0.8.3
Updating crossbeam-epoch v0.9.13 -> v0.9.15
Updating crossbeam-utils v0.8.14 -> v0.8.16
Removing dirs v4.0.0
Removing dirs-sys v0.3.7
Updating dlib v0.5.0 -> v0.5.2
Updating either v1.8.1 -> v1.9.0
Adding equivalent v1.0.1
Updating euclid v0.22.7 -> v0.22.9
Updating futures v0.3.26 -> v0.3.28
Updating futures-channel v0.3.26 -> v0.3.28
Updating futures-core v0.3.26 -> v0.3.28
Updating futures-executor v0.3.26 -> v0.3.28
Updating futures-io v0.3.26 -> v0.3.28
Updating futures-macro v0.3.26 -> v0.3.28
Updating futures-sink v0.3.26 -> v0.3.28
Updating futures-task v0.3.26 -> v0.3.28
Updating futures-util v0.3.26 -> v0.3.28
Updating getrandom v0.2.8 -> v0.2.10
Updating gpu-alloc v0.5.3 -> v0.5.4
Adding hashbrown v0.14.0
Updating hermit-abi v0.2.6 -> v0.3.2
Removing indexmap v1.9.2
Adding indexmap v1.9.3
Adding indexmap v2.0.0
Updating itoa v1.0.5 -> v1.0.9
Updating js-sys v0.3.61 -> v0.3.64
Updating libc v0.2.139 -> v0.2.147
Adding libloading v0.8.0
Updating lock_api v0.4.9 -> v0.4.10
Updating log v0.4.17 -> v0.4.20
Updating memchr v2.5.0 -> v2.6.3
Updating memoffset v0.7.1 -> v0.9.0
Removing nom8 v0.2.0
Updating num-traits v0.2.15 -> v0.2.16
Updating num_cpus v1.15.0 -> v1.16.0
Updating num_enum v0.5.9 -> v0.5.11
Updating num_enum_derive v0.5.9 -> v0.5.11
Updating once_cell v1.17.0 -> v1.18.0
Updating owned_ttf_parser v0.18.1 -> v0.19.0
Updating percent-encoding v2.2.0 -> v2.3.0
Updating pin-project-lite v0.2.9 -> v0.2.13
Updating pkg-config v0.3.26 -> v0.3.27
Updating proc-macro-crate v1.3.0 -> v1.3.1
Updating proc-macro2 v1.0.51 -> v1.0.66
Updating profiling v1.0.7 -> v1.0.10
Updating quote v1.0.23 -> v1.0.33
Updating range-alloc v0.1.2 -> v0.1.3
Updating rayon v1.6.1 -> v1.7.0
Updating rayon-core v1.10.2 -> v1.11.0
Removing redox_users v0.4.3
Updating ryu v1.0.12 -> v1.0.15
Updating scopeguard v1.1.0 -> v1.2.0
Updating serde v1.0.152 -> v1.0.188
Updating serde_derive v1.0.152 -> v1.0.188
Updating serde_json v1.0.92 -> v1.0.105
Updating slab v0.4.7 -> v0.4.9
Updating smallvec v1.10.0 -> v1.11.0
Removing syn v1.0.107
Adding syn v1.0.109
Adding syn v2.0.31
Updating thiserror v1.0.38 -> v1.0.48
Updating thiserror-impl v1.0.38 -> v1.0.48
Updating toml_datetime v0.5.1 -> v0.6.3
Updating toml_edit v0.18.1 -> v0.19.14
Updating ttf-parser v0.18.1 -> v0.19.1
Updating unicode-ident v1.0.6 -> v1.0.11
Updating walkdir v2.3.2 -> v2.4.0
Updating wasm-bindgen v0.2.84 -> v0.2.87
Updating wasm-bindgen-backend v0.2.84 -> v0.2.87
Updating wasm-bindgen-futures v0.4.34 -> v0.4.37
Updating wasm-bindgen-macro v0.2.84 -> v0.2.87
Updating wasm-bindgen-macro-support v0.2.84 -> v0.2.87
Updating wasm-bindgen-shared v0.2.84 -> v0.2.87
Adding windows-sys v0.48.0
Adding windows-targets v0.48.5
Adding windows_aarch64_gnullvm v0.48.5
Adding windows_aarch64_msvc v0.48.5
Adding windows_i686_gnu v0.48.5
Adding windows_i686_msvc v0.48.5
Adding windows_x86_64_gnu v0.48.5
Adding windows_x86_64_gnullvm v0.48.5
Adding windows_x86_64_msvc v0.48.5
Adding winnow v0.5.15
Updating xdg v2.4.1 -> v2.5.2
Updating xml-rs v0.8.4 -> v0.8.17
It now builds. However, it fails with:
c:\working\rust\rusty_art>cargo run --bin hilbert
Finished dev [unoptimized + debuginfo] target(s) in 0.52s
Running `target\debug\hilbert.exe`
error: process didn't exit successfully: `target\debug\hilbert.exe` (exit code: 0xc0000005, STATUS_ACCESS_VIOLATION)
Any ideas would be apreciated.
sahapes.rs file:
Model { t: 0. 0 }
Model { t: 0. 0 }
I've always wanted to look into Iced, and I see it as a good fit for rusty_art to turn into a simple app and use it to do something more "fancy" to simply execute binary files...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.